diff options
author | Daniel Jacobowitz <dan@debian.org> | 2004-03-22 20:18:33 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2004-03-22 20:18:33 +0000 |
commit | f5cbfca3926be543ada929a03480193553e0ca7e (patch) | |
tree | 749565f373fcb47a5ce45436d33b0f13a7c2988f /gdb/lin-lwp.c | |
parent | 0b5dc1c6cd4e686292ee1814b3c94af14b0981c5 (diff) | |
download | gdb-f5cbfca3926be543ada929a03480193553e0ca7e.tar.gz |
* lin-lwp.c (lin_lwp_wait): Pass the LWP ID to
linux_handle_extended_wait.
Diffstat (limited to 'gdb/lin-lwp.c')
-rw-r--r-- | gdb/lin-lwp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c index df91aa76963..0d8d1ff6a01 100644 --- a/gdb/lin-lwp.c +++ b/gdb/lin-lwp.c @@ -1591,8 +1591,7 @@ retry: /* Handle GNU/Linux's extended waitstatus for trace events. */ if (WIFSTOPPED (status) && WSTOPSIG (status) == SIGTRAP && status >> 16 != 0) { - linux_handle_extended_wait (ptid_get_pid (trap_ptid), - status, ourstatus); + linux_handle_extended_wait (GET_LWP (lp->ptid), status, ourstatus); return trap_ptid; } |