OSDN Git Service

* infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED or
authorPedro Alves <pedro@codesourcery.com>
Thu, 11 Dec 2008 19:19:11 +0000 (19:19 +0000)
committerPedro Alves <pedro@codesourcery.com>
Thu, 11 Dec 2008 19:19:11 +0000 (19:19 +0000)
commit377ea3da879c2ac8b4d33137ac8f40804feeb2da
treecf329fcf02dad25f0530dfcded0c0882519e04e6
parent2b9474d6a76d1fcc9fde5198f48967f96b251a1a
* 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