This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Dereferencing pointers on "backtrace full"


Tom Tromey wrote:
"Shadowcat" == Shadowcat <shadowcat@phasethrough.com> writes:

Shadowcat> Is there any way for GDB to do this? I'd like to be able to Shadowcat> type "bt full" and get, at a quick glance, the exact values Shadowcat> of all the pointers referenced by local variables. It would Shadowcat> make things a lot easier in a lot of situations.

There is no built-in way to do this that I know of.

You might be able to do it using Python scripting, in CVS GDB.  I am not
certain... we have a "backtrace" written purely in Python on the archer
python branch, but offhand I don't recall whether all the infrastructure
bits needed for this have been pushed upstream yet.

Using the old-style gdb scripting language: while (1) info locals up end


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]