diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-03-22 20:18:33 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-03-22 20:18:33 +0000 |
commit | 5b917078efad9cd06e04a35da481ae0e6e085350 (patch) | |
tree | ca51fc447b45d0ab00596b9c18b71e210bc1443c /gdb/lin-lwp.c | |
parent | c3122434a9e51eba9cf18f4d12f7ce52e1a053c0 (diff) | |
download | gdb-5b917078efad9cd06e04a35da481ae0e6e085350.zip gdb-5b917078efad9cd06e04a35da481ae0e6e085350.tar.gz gdb-5b917078efad9cd06e04a35da481ae0e6e085350.tar.bz2 |
* 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 df91aa7..0d8d1ff 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; } |