From: Evan Driscoll <driscoll@cs.wisc.edu>
To: gdb@sourceware.org
Subject: Pythons scripting API question
Date: Wed, 30 May 2012 18:10:00 -0000 [thread overview]
Message-ID: <4FC66293.5040908@cs.wisc.edu> (raw)
Hi,
I'd like to get a list of the local variables in a frame, or at least
the parameters. I'm looking through the documentation of the Python API,
and not seeing how to do it.
In some sense, I'm trying to write a command that behaves a bit like
'info locals', but outputs in a different format. (And, of course, I'd
prefer not to parse that. There's also some other stuff I want to do as
well.)
I'm using GDB 7.4.1 with Python 2.7.1.
Evan
next reply other threads:[~2012-05-30 18:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 18:10 Evan Driscoll [this message]
2012-05-30 21:23 ` Keith Seitz
2012-05-30 22:42 ` Evan Driscoll
2012-05-30 23:12 ` Keith Seitz
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=4FC66293.5040908@cs.wisc.edu \
--to=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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).