Custom catchpoints with Python API

Armando Miraglia arma2ff0@gmail.com
Tue Dec 2 10:46:00 GMT 2014


Hi everybody.

this is my first intervention here on the mainling list, so I hope I
will be asking the right question in the right place :)

First of all, thanks a lot for the great job done with GDB.

As the subject suggests, my question relates the Python API of GDB. I
am writing a GDB Python extension for a University project and so far
I managed to do a lot. However, I am having difficulties finding a way
to create custom Catchpoints similarly to what I have been doing with
Breakpoints. I see that extending gdb.Breakpoints I can create custom
breakpoints and watchpoints but I have not managed to find a way to
instantiate a class for a catchpoint that invokes my own code.
Is this even possible right now?

Thanks a lot!



More information about the Gdb mailing list