diff options
author | Jim Blandy <jimb@redhat.com> | 2004-12-02 23:50:08 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 2004-12-02 23:50:08 +0000 |
commit | 8d2703df262065d100d933bf6a0aad9ab6227053 (patch) | |
tree | 5e9c0172b95a0a0489df09b28f595d12401473ed | |
parent | 1b6ee048363f8cb1464bacb1a3a01809ab211176 (diff) | |
download | gdb-8d2703df262065d100d933bf6a0aad9ab6227053.tar.gz |
* ptrace-target.c (kill_lwp): Produce debugging output.
-rw-r--r-- | rda/unix/ChangeLog | 2 | ||||
-rw-r--r-- | rda/unix/ptrace-target.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/rda/unix/ChangeLog b/rda/unix/ChangeLog index ee2eb55582a..e84df8aa23e 100644 --- a/rda/unix/ChangeLog +++ b/rda/unix/ChangeLog @@ -1,5 +1,7 @@ 2004-12-02 Jim Blandy <jimb@redhat.com> + * ptrace-target.c (kill_lwp): Produce debugging output. + * lwp-pool.c (check_stop_pending): lwp_state_stopped_interesting is not a legitimate state for the LWP to be in. diff --git a/rda/unix/ptrace-target.c b/rda/unix/ptrace-target.c index 4217e1db3d1..0ab5fde4dce 100644 --- a/rda/unix/ptrace-target.c +++ b/rda/unix/ptrace-target.c @@ -1341,6 +1341,9 @@ kill_lwp (pid_t lwp, int signal) { int result; + if (thread_db_noisy) + fprintf (stderr, "kill_lwp (%d, %d)\n", (int) lwp, signal); + /* Under NPTL, signals sent via kill get delivered to whatever thread in the group can handle them; they don't necessarily go to the thread whose PID you passed. This makes kill useless for |