From: Michael Snyder <msnyder@vmware.com>
To: "tromey@redhat.com" <tromey@redhat.com>
Cc: Shadowcat <shadowcat@phasethrough.com>,
"gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Dereferencing pointers on "backtrace full"
Date: Tue, 15 Sep 2009 17:36:00 -0000 [thread overview]
Message-ID: <4AAFD08B.2030404@vmware.com> (raw)
In-Reply-To: <m3ocpda5uz.fsf@fleche.redhat.com>
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
next prev parent reply other threads:[~2009-09-15 17:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 10:21 Shadowcat
2009-09-14 15:44 ` Tom Tromey
2009-09-15 17:36 ` Michael Snyder [this message]
2009-09-15 19:02 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AAFD08B.2030404@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb@sourceware.org \
--cc=shadowcat@phasethrough.com \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox