Re: Formatting of function pointer value

Daniel Jacobowitz
2005-07-11T13:03:26Z

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