From: Keith Seitz <keiths@redhat.com>
To: Evan Driscoll <driscoll@cs.wisc.edu>
Cc: gdb@sourceware.org
Subject: Re: Pythons scripting API question
Date: Wed, 30 May 2012 23:12:00 -0000 [thread overview]
Message-ID: <4FC6A929.5080209@redhat.com> (raw)
In-Reply-To: <4FC6A251.3080806@cs.wisc.edu>
On 05/30/2012 03:42 PM, Evan Driscoll wrote:
> Instead, I have to use
>
> (gdb) python print gdb.selected_frame().read_var(n)
> {argc = 6742752, argv = 0x0, use_windows = -7696, interpreter_p = 0x0}
>
>
> Is this just a version difference?
It appears that Symbol.value was added on 2012-02-07 to address
python/12027. That bug shows the target milestone to be 7.5, so I'm
guessing that although this was fixed before the 7.4.1 release, it was
not back-ported to that release.
In other words, yes, it does appear to be a difference between your
version of gdb (7.4.1) and mine (7.4.50, aka CVS HEAD). :-)
Keith
next prev parent reply other threads:[~2012-05-30 23:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 18:10 Evan Driscoll
2012-05-30 21:23 ` Keith Seitz
2012-05-30 22:42 ` Evan Driscoll
2012-05-30 23:12 ` Keith Seitz [this message]
2012-06-06 15:46 ` Joachim Protze
2012-06-06 17:58 ` 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=4FC6A929.5080209@redhat.com \
--to=keiths@redhat.com \
--cc=driscoll@cs.wisc.edu \
--cc=gdb@sourceware.org \
/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