[ob] unbreak "info thread"

Vladimir Prus vladimir@codesourcery.com
Mon Mar 17 18:44:00 GMT 2008


As Luis Machado noticed, but recent -thread-info patch
causes "info thread" to get internal error if there are
no threads in the thread table -- which unfortunately
happens a lot.

Fixed with the attached obvious patch.

Sorry,
Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit.diff
Type: text/x-diff
Size: 1209 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080317/707fd0cb/attachment.bin>


More information about the Gdb-patches mailing list