Symbols/blocks questions
Joel Brobecker
brobecker@adacore.com
Sun Sep 20 15:52:00 GMT 2009
> Well, string rendition is not really a challenge. You take
> struct block *, and then use phex :-) The id need not be
> stable across debug sessions, it just should be stable within
> one debug session.
OK - I just thought that you wanted the user to be able to identify
these blocks from the source code. The same way we do when doing
(gdb) print FUNC::VAR
If you think people will be happy with an arbitrary block ID, then
indeed, that's easy (it's actually how task IDs are identified in
VxWorks, it's the address of the TCB).
--
Joel
More information about the Gdb
mailing list