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 plugin in GDB


>>>>> "Sebastian" == Sebastian Fischmeister <sfischme@uwaterloo.ca> 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.

Tom


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