This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Python API iterate through the arguments of a frame


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]