This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Python plugin in GDB
- From: Tom Tromey <tromey at redhat dot com>
- To: Sebastian Fischmeister <sfischme at uwaterloo dot ca>
- Cc: gdb at sourceware dot org
- Date: Tue, 01 Dec 2009 12:35:13 -0700
- Subject: Re: Python plugin in GDB
- References: <721102E3-7DD6-4E15-A319-3B2A80EE8204@uwaterloo.ca>
- Reply-to: tromey at redhat dot com
>>>>> "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