OSDN Git Service

* infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED or
authorpalves <palves>
Thu, 11 Dec 2008 19:19:11 +0000 (19:19 +0000)
committerpalves <palves>
Thu, 11 Dec 2008 19:19:11 +0000 (19:19 +0000)
commit05332bf576310cc2ed2a885beaf852d4b3d730ea
treef6ed16e8a45728cd6868b5dd05d4a89aca96344d
parent376246d68472d4677243c322d974d94dd69b219e
* 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.
gdb/ChangeLog
gdb/inf-ptrace.c
gdb/infrun.c
gdb/linux-thread-db.c
gdb/rs6000-nat.c
gdb/spu-linux-nat.c