diff options
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 5ff4bce..a0dc634 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -1450,8 +1450,8 @@ get_pending_status (struct lwp_info *lp, int *status) queue. */ if (queued_waitpid (GET_LWP (lp->ptid), status, __WALL) != -1) { - if (WIFSTOPPED (status)) - signo = target_signal_from_host (WSTOPSIG (status)); + if (WIFSTOPPED (*status)) + signo = target_signal_from_host (WSTOPSIG (*status)); /* If not stopped, then the lwp is gone, no use in resending a signal. */ |