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]

Re: Python gdb.Function is an old-style class?


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()


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