Formatting of function pointer value
Daniel Jacobowitz
drow@false.org
Mon Jul 11 13:03:00 GMT 2005
On Mon, Jul 11, 2005 at 10:34:55AM +0200, Andreas Schwab wrote:
> Vladimir Prus <ghost@cs.msu.su> 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
More information about the Gdb
mailing list