Custom catchpoints with Python API

Armando Miraglia <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAOcbMd3T-795LEWW5v8=jGXrzC=kN+ixa4hqfS6w-uSBWo4gGw@mail.gmail.com>
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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.