2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Tue, 23 Nov 2010 13:33:23 +0000 (13:33 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Tue, 23 Nov 2010 13:33:23 +0000 (13:33 +0000)
commitea976c60e229b7d4ccfbf4a735a09c407f104a20
treea3644ba2e08af2aede1c2bae21b8a0f82052b6bf
parent5be229c0d8db1f0c18bc627ce31b61adac0428cd
2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>

        PR python/12212

* python/py-inferior.c (find_thread_object): Check if PIDGET
returns 0.

2010-11-23  Phil Muldoon  <pmuldoon@redhat.com>

        PR python/12212

* gdb.python/python.exp: Check that selected_thread raises an
error when no inferior is loaded.
gdb/ChangeLog
gdb/python/py-inferior.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/python.exp