public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Pythons scripting API question
@ 2012-05-30 18:10 Evan Driscoll
  2012-05-30 21:23 ` Keith Seitz
  0 siblings, 1 reply; 6+ messages in thread
From: Evan Driscoll @ 2012-05-30 18:10 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-06 17:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-30 18:10 Pythons scripting API question Evan Driscoll
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

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).