diff options
author | Pedro Alves <palves@redhat.com> | 2008-12-11 19:19:12 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-12-11 19:19:12 +0000 |
commit | fb66883a82873544d46dac3d3850915d10ca5e94 (patch) | |
tree | 5debd8877f303a034ddbec78fa92099a326862e8 /gdb/spu-linux-nat.c | |
parent | 7c8adf682b34f6efbd4113c83d93b31fba4c7cb0 (diff) | |
download | gdb-fb66883a82873544d46dac3d3850915d10ca5e94.zip gdb-fb66883a82873544d46dac3d3850915d10ca5e94.tar.gz gdb-fb66883a82873544d46dac3d3850915d10ca5e94.tar.bz2 |
* 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/spu-linux-nat.c')
-rw-r--r-- | gdb/spu-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c index 5d76300..7223a96 100644 --- a/gdb/spu-linux-nat.c +++ b/gdb/spu-linux-nat.c @@ -444,7 +444,7 @@ spu_child_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; } store_waitstatus (ourstatus, status); |