diff options
author | Doug Evans <xdje42@gmail.com> | 2014-09-13 16:00:13 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-09-13 16:00:13 -0700 |
commit | d36bf488d82165827ef07052ecf775906d7d04a9 (patch) | |
tree | 7565edb7909f9e342f3d96db7cf847410537f68e /gdb/linux-nat.c | |
parent | 3714cea7d44e2bd9cac28a61d45fcc8c3cc6ae83 (diff) | |
download | gdb-d36bf488d82165827ef07052ecf775906d7d04a9.zip gdb-d36bf488d82165827ef07052ecf775906d7d04a9.tar.gz gdb-d36bf488d82165827ef07052ecf775906d7d04a9.tar.bz2 |
* linux-nat.c (wait_lwp): Add debugging printf.
(linux_nat_wait_1): Ditto.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 0898442..557c84b 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -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); } |