diff options
author | Pedro Alves <palves@redhat.com> | 2009-05-21 15:21:28 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-05-21 15:21:28 +0000 |
commit | 9944e9c2ac5e0e5d18eaf5100f6c57bf31cbe6e7 (patch) | |
tree | ebaf9a9ebf317ddfc2567e0ae47818117f7bb242 /gdb/mi | |
parent | c244a140a5886ace48a9c18ebf9f268a0280f99b (diff) | |
download | fsf-binutils-gdb-9944e9c2ac5e0e5d18eaf5100f6c57bf31cbe6e7.zip fsf-binutils-gdb-9944e9c2ac5e0e5d18eaf5100f6c57bf31cbe6e7.tar.gz fsf-binutils-gdb-9944e9c2ac5e0e5d18eaf5100f6c57bf31cbe6e7.tar.bz2 |
* mi/mi-interp.c (mi_on_resume): Account for whole process
resumes.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 3426a39..e601ecd 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -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); |