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]

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


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