* linux-nat.c (wait_lwp): Add debugging printf.
(linux_nat_wait_1): Ditto.
This commit is contained in:
parent
3714cea7d4
commit
d36bf488d8
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-09-13 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* linux-nat.c (wait_lwp): Add debugging printf.
|
||||
(linux_nat_wait_1): Ditto.
|
||||
|
||||
2014-09-12 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
|
||||
|
|
|
@ -2311,6 +2311,8 @@ wait_lwp (struct lwp_info *lp)
|
|||
again before it gets to sigsuspend so we can safely let the handlers
|
||||
get executed here. */
|
||||
|
||||
if (debug_linux_nat)
|
||||
fprintf_unfiltered (gdb_stdlog, "WL: about to sigsuspend\n");
|
||||
sigsuspend (&suspend_mask);
|
||||
}
|
||||
|
||||
|
@ -3441,6 +3443,8 @@ retry:
|
|||
gdb_assert (lp == NULL);
|
||||
|
||||
/* Block until we get an event reported with SIGCHLD. */
|
||||
if (debug_linux_nat)
|
||||
fprintf_unfiltered (gdb_stdlog, "LNW: about to sigsuspend\n");
|
||||
sigsuspend (&suspend_mask);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue