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

Paul Smith
2016-07-21T19:20:43Z

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