From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28914 invoked by alias); 11 Jul 2005 08:35:18 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27707 invoked by uid 22791); 11 Jul 2005 08:34:59 -0000 Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 11 Jul 2005 08:34:59 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 88F221D127; Mon, 11 Jul 2005 10:34:57 +0200 (CEST) From: Andreas Schwab To: Vladimir Prus Cc: gdb@sources.redhat.com Subject: Re: Formatting of function pointer value References: <20050708135830.GC17089@nevyn.them.org> X-Yow: Yow! Now we can become alcoholics! Date: Mon, 11 Jul 2005 08:35:00 -0000 In-Reply-To: (Vladimir Prus's message of "Mon, 11 Jul 2005 09:39:02 +0400") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-07/txt/msg00104.txt.bz2 Vladimir Prus writes: > I'm sorry, I don't understand this. Is human user supposed to know that '{' > starts a function? What harm will it make if parenthesis are used in both > cases? `{TYPE} ADDR' is a special syntax for expressions in gdb and is actually a shorthand for `*(TYPE *) ADDR'. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."