diff options
author | Pedro Alves <palves@redhat.com> | 2008-05-15 20:11:48 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-05-15 20:11:48 +0000 |
commit | 4fdebdd056c03d3bee6673beacbb6be2e1496219 (patch) | |
tree | dea849cb035a00f431676485bfbb4ba54f7964a1 /gdb/linux-thread-db.c | |
parent | bc882aa93773516867c0fb64b3e992c77787a58c (diff) | |
download | binutils-gdb-4fdebdd056c03d3bee6673beacbb6be2e1496219.tar.gz |
* linux-nat.c (trap_ptid): Delete.
(linux_nat_detach, linux_nat_wait, linux_nat_mourn_inferior):
Adjust.
* linux-thread-db.c (thread_db_wait): Adjust.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r-- | gdb/linux-thread-db.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index c7aaf6065d8..2ae2f5c70a1 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -823,8 +823,6 @@ check_event (ptid_t ptid) static ptid_t thread_db_wait (ptid_t ptid, struct target_waitstatus *ourstatus) { - extern ptid_t trap_ptid; - ptid = target_beneath->to_wait (ptid, ourstatus); if (ourstatus->kind == TARGET_WAITKIND_IGNORE) @@ -861,9 +859,6 @@ thread_db_wait (ptid_t ptid, struct target_waitstatus *ourstatus) event gets postponed by other simultaneous events. In such a case, we want to just ignore the event and continue on. */ - if (!ptid_equal (trap_ptid, null_ptid)) - trap_ptid = thread_from_lwp (trap_ptid); - ptid = thread_from_lwp (ptid); if (GET_PID (ptid) == -1) ourstatus->kind = TARGET_WAITKIND_SPURIOUS; |