Anmol> Is there a mini-tutorial somewhere that has an example of
Anmol> getting started with using GDB's Python support? I tried trying
Anmol> out the Greet snippet here:
Anmol> http://sourceware.org/gdb/current/onlinedocs/gdb/Functions-In-Python.html#Functions-In-Python
Anmol> but I'm not sure what I'm doing wrong.
If that didn't work, could you be more specific? How did it fail, etc?
I wrote a series of blog entries about the python work a while back.
This may be the closest thing to a tutorial; however, some details of
the API have changed since then, so you would have to read it in
conjunction with the gdb manual:
http://tromey.com/blog/?p=494