[PATCH 1/1] gdb, python: update threads in Inferior.threads ()

Metzger, Markus T markus.t.metzger@intel.com
Thu Jul 19 15:27:00 GMT 2012


> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com]
> Sent: Friday, July 06, 2012 7:54 PM

Thanks for your review!

> 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.

This seems to be common practice. I found 6 other calls.


> Markus> +  update_thread_list ();
> 
> Generally, calls from the python layer into gdb have to be wrapped in a
> TRY_CATCH.

I added it.

Regards,
Markus.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7228 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120719/6fb3a5c7/attachment.p7s>
-------------- next part --------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer, Christian Lamprechter
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052


More information about the Gdb-patches mailing list