From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29870 invoked by alias); 11 Jul 2005 13:03:26 -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 29685 invoked by uid 22791); 11 Jul 2005 13:03:16 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 11 Jul 2005 13:03:16 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1DrxwB-0006ie-6z; Mon, 11 Jul 2005 09:03:07 -0400 Date: Mon, 11 Jul 2005 13:03:00 -0000 From: Daniel Jacobowitz To: Andreas Schwab Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: Formatting of function pointer value Message-ID: <20050711130306.GA25755@nevyn.them.org> Mail-Followup-To: Andreas Schwab , Vladimir Prus , gdb@sources.redhat.com References: <20050708135830.GC17089@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00107.txt.bz2 On Mon, Jul 11, 2005 at 10:34:55AM +0200, Andreas Schwab wrote: > 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'. Woah... and yes, it's in the manual. Thanks, Andreas; I've never seen that syntax before! -- Daniel Jacobowitz CodeSourcery, LLC