mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
* mi/mi-interp.c (mi_on_resume): Account for whole process
resumes.
This commit is contained in:
parent
c244a140a5
commit
9944e9c2ac
@ -1,3 +1,8 @@
|
||||
2009-05-21 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* mi/mi-interp.c (mi_on_resume): Account for whole process
|
||||
resumes.
|
||||
|
||||
2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* m2-exp.y (MAX_FUNC): Fix trailing UNOP_MAX.
|
||||
|
@ -419,7 +419,7 @@ mi_on_resume (ptid_t ptid)
|
||||
{
|
||||
struct thread_info *tp = NULL;
|
||||
|
||||
if (ptid_equal (ptid, minus_one_ptid))
|
||||
if (ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid))
|
||||
tp = inferior_thread ();
|
||||
else
|
||||
tp = find_thread_pid (ptid);
|
||||
|
Loading…
Reference in New Issue
Block a user