diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-06-05 14:26:58 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-06-05 14:26:58 +0000 |
commit | e5379b03cf80d6b0bd9a8d7dd03e2220a61956a2 (patch) | |
tree | 8af8826fb577e84036d89c410cebe502dac302ce /gdb/gdbserver/remote-utils.c | |
parent | c82b20e4573561011a801e436bcca84cfa999113 (diff) | |
download | gdb-e5379b03cf80d6b0bd9a8d7dd03e2220a61956a2.zip gdb-e5379b03cf80d6b0bd9a8d7dd03e2220a61956a2.tar.gz gdb-e5379b03cf80d6b0bd9a8d7dd03e2220a61956a2.tar.bz2 |
* linux-low.c (linux_wait_for_event): Correct comment typos.
(linux_resume_one_process): Call check_removed_breakpoint.
(linux_send_signal): New function.
(linux_target_ops): Add linux_send_signal.
* remote-utils.c (putpkt, input_interrupt): Use send_signal instead
of kill.
* target.h (struct target_ops): Add send_signal.
Diffstat (limited to 'gdb/gdbserver/remote-utils.c')
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index d569937..eb56c10 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -46,8 +46,6 @@ static int remote_desc; extern int using_threads; extern int debug_threads; -extern int signal_pid; - /* Open a connection to a remote debugger. NAME is the filename used for communication. */ @@ -326,7 +324,7 @@ putpkt (char *buf) /* Check for an input interrupt while we're here. */ if (buf3[0] == '\003') - kill (signal_pid, SIGINT); + (*the_target->send_signal) (SIGINT); } while (buf3[0] != '+'); @@ -363,7 +361,7 @@ input_interrupt (int unused) return; } - kill (signal_pid, SIGINT); + (*the_target->send_signal) (SIGINT); } } |