This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Formatting of function pointer value
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'.
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."