This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Dereferencing pointers on "backtrace full"
- From: Tom Tromey <tromey at redhat dot com>
- To: Shadowcat <shadowcat at phasethrough dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 14 Sep 2009 09:44:20 -0600
- Subject: Re: Dereferencing pointers on "backtrace full"
- References: <4AAE192E.9050803@phasethrough.com>
- Reply-to: tromey at redhat dot com
>>>>> "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.
Tom