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

Metzger, Markus T
2012-07-19T15:27:29Z

[-- Attachment #1.1: Type: text/plain, Size: 534 bytes --]

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

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 7228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 350 bytes --]

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