This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/1] gdb, python: update threads in Inferior.threads ()
- From: Tom Tromey <tromey at redhat dot com>
- To: markus dot t dot metzger at intel dot com
- Cc: gdb-patches at sourceware dot org, markus dot t dot metzger at gmail dot com
- Date: Fri, 06 Jul 2012 11:54:02 -0600
- Subject: Re: [PATCH 1/1] gdb, python: update threads in Inferior.threads ()
- References: <1341568171-27211-1-git-send-email-markus.t.metzger@intel.com>
>>>>> "Markus" == markus t metzger <markus.t.metzger@intel.com> writes:
Markus> Not sure this is the right place. We should probably update the
Markus> thread list as soon as we learn that the target stopped.
I'm not sure about this either.
Markus> + update_thread_list ();
Generally, calls from the python layer into gdb have to be wrapped in a
TRY_CATCH.
Tom