public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Python API iterate through the arguments of a frame
@ 2012-02-21 15:55 Cristian Zamfir
  2012-02-21 19:54 ` Tom Tromey
  0 siblings, 1 reply; 7+ messages in thread
From: Cristian Zamfir @ 2012-02-21 15:55 UTC (permalink / raw)
  To: gdb

Hi, 
I would like to write a Python script that iterates through the arguments of a frame. I was hoping I can retrieve these arguments from a Frame object,  but I did not find a way to do this, unless I know the name of the variables. Similarly, I would like to iterate through all the locals of the frame.

Is this possible with the current Python API? If not, can you please point me to where I could add additional functions to the Python API? 

Thank you, 
Cristi


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

end of thread, other threads:[~2012-02-22 15:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-21 15:55 Python API iterate through the arguments of a frame Cristian Zamfir
2012-02-21 19:54 ` Tom Tromey
2012-02-21 22:52   ` Cristian Zamfir
2012-02-22  1:52     ` Paul_Koning
2012-02-22  8:54     ` Joachim Protze
2012-02-22 15:07     ` Tom Tromey
2012-02-22 15:41       ` Cristian Zamfir

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