]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/linux-thread-db.c
2004-06-04 Jeff Johnston <jjohnstn@redhat.com>
authorJeff Johnston <jjohnstn@redhat.com>
Fri, 4 Jun 2004 21:28:15 +0000 (21:28 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Fri, 4 Jun 2004 21:28:15 +0000 (21:28 +0000)
commitb9b5d7ea4de09f50277394ab1063cbb28d9cdfc9
tree44a312000bb8638190c5ceba4ea7d0646274ddd5
parentd4a00f218b16132f13e4364c1b6b34934d31587a
2004-06-04  Jeff Johnston  <jjohnstn@redhat.com>

        * infrun.c (handle_inferior_event): Don't treat an invalid ptid
        as a new thread event.
        * thread_db.c (thread_get_info_callback): If the thread is a
        zombie, return TD_THR_ZOMBIE.
        * (thread_from_lwp): If thread_get_info_callback returns
        TD_THR_ZOMBIE, check if the thread is still on the thread list
        and return a -1 ptid if not found.
        (thread_db_wait): If thread_from_lwp returns a -1 ptid, then
        change the status to TARGET_WAITKIND_SPURIOUS.
gdb/ChangeLog
gdb/infrun.c
gdb/thread-db.c