Python plugin in GDB

Tom Tromey
Tue Dec 1 19:35:00 GMT 2009

>>>>> "Sebastian" == Sebastian Fischmeister <> writes:

Sebastian> while True:
Sebastian>   gdb.execute("attach 11868")
Sebastian>   gdb.execute("bt")
Sebastian>   gdb.execute("frame 4")
Sebastian>   gdb.execute("print i")
Sebastian>   gdb.execute("detach")
Sebastian>   time.sleep(10)
Sebastian> end

Sebastian> Does anyone know why it would work manually entering the
Sebastian> commands and why it wouldn't work with the plugin?

I don't know offhand.  Please file a bug report for this.  Thanks.


More information about the Gdb mailing list