Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Shadowcat <shadowcat@phasethrough.com>
Cc: gdb@sourceware.org
Subject: Re: Dereferencing pointers on "backtrace full"
Date: Mon, 14 Sep 2009 15:44:00 -0000	[thread overview]
Message-ID: <m3ocpda5uz.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4AAE192E.9050803@phasethrough.com> (shadowcat@phasethrough.com's 	message of "Mon, 14 Sep 2009 06:21:34 -0400")

>>>>> "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


  reply	other threads:[~2009-09-14 15:44 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 [this message]
2009-09-15 17:36   ` Michael Snyder
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=m3ocpda5uz.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=shadowcat@phasethrough.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