This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Pythons scripting API question
- From: Evan Driscoll <driscoll at cs dot wisc dot edu>
- To: gdb at sourceware dot org
- Date: Wed, 30 May 2012 13:10:27 -0500
- Subject: Pythons scripting API question
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