Python gdb.Function is an old-style class?

Paul Smith psmith@gnu.org
Thu Jul 21 19:20:00 GMT 2016


Meh, Evolution formatting fail; the "works" example should of course
be:

>   class MyStuff(gdb.Function):
>       def __init__(self):
>          gdb.Function.__init__(self, "mystuff")
> 
>       def invoke(self):
>           do_stuff()



More information about the Gdb mailing list