mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-15 08:08:55 +00:00
2008-09-25 Sérgio Durigan Júnior <sergiodj@linux.vnet.ibm.com>
* linux-nat.c (get_pending_status): Fix argument to WIFSTOPPED.
This commit is contained in:
parent
68db4c759f
commit
8b8655b3f7
@ -1,3 +1,7 @@
|
||||
2008-09-25 Sérgio Durigan Júnior <sergiodj@linux.vnet.ibm.com>
|
||||
|
||||
* linux-nat.c (get_pending_status): Fix argument to WIFSTOPPED.
|
||||
|
||||
2008-09-24 Vladimir Prus <vladimir@codesourcery.com>
|
||||
|
||||
* remote-sim.c (gdbsim_create_inferior): Fix missing parenthesis.
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user