diff options
author | Pedro Alves <pedro@codesourcery.com> | 2008-12-11 19:19:11 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2008-12-11 19:19:11 +0000 |
commit | 377ea3da879c2ac8b4d33137ac8f40804feeb2da (patch) | |
tree | cf329fcf02dad25f0530dfcded0c0882519e04e6 /gdb/rs6000-nat.c | |
parent | 2b9474d6a76d1fcc9fde5198f48967f96b251a1a (diff) | |
download | gdb-377ea3da879c2ac8b4d33137ac8f40804feeb2da.tar.gz |
* infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED or
TARGET_WAITKIND_SIGNALLED, switch inferior_ptid to the event ptid.
* linux_thread_db.c (thread_db_wait): On a TARGET_WAITKIND_EXITED
or TARGET_WAITKIND_SIGNALLED, return the ptid the beneath target
returned.
* inf-ptrace.c (inf_ptrace_wait): Return inferior_ptid instead of
minus_one_ptid if the inferior disappeared.
* rs6000-nat.c (rs6000_wait): Likewise.
* spu-linux-nat.c (spu_child_wait): Likewise.
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 6501def2210..efdfaa68fdd 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -546,7 +546,7 @@ rs6000_wait (ptid_t ptid, struct target_waitstatus *ourstatus) /* Claim it exited with unknown signal. */ ourstatus->kind = TARGET_WAITKIND_SIGNALLED; ourstatus->value.sig = TARGET_SIGNAL_UNKNOWN; - return minus_one_ptid; + return inferior_ptid; } /* Ignore terminated detached child processes. */ |