This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Symbols/blocks questions
> 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