diff options
author | Pedro Alves <pedro@codesourcery.com> | 2007-02-25 17:59:43 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2007-02-25 17:59:43 +0000 |
commit | d413a82bbbc90e4683a08bedfd00ae0f25425129 (patch) | |
tree | fd2d128f618bf985f34a382de44ee1a1935f608e /gdb/gdbserver/spu-low.c | |
parent | 9986dd65f8efb420d3e9cf878247fa21f02acbe6 (diff) | |
download | gdb-d413a82bbbc90e4683a08bedfd00ae0f25425129.tar.gz |
* target.h (target_ops): Rename send_signal to request_interrupt,
and remove enum target_signal parameter.
* linux-low.c (linux_request_interrupt): Rename from
linux_send_signal, and always send SIGINT.
* spu-low.c (spu_request_interrupt): Rename from spu_send_signal,
and always send SIGINT.
* remote-utils.c (putpkt_binary): Call request_interrupt, instead
of send_signal.
(input_interrupt): Likewise.
Diffstat (limited to 'gdb/gdbserver/spu-low.c')
-rw-r--r-- | gdb/gdbserver/spu-low.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbserver/spu-low.c b/gdb/gdbserver/spu-low.c index 3599208b261..b5b5f484a9c 100644 --- a/gdb/gdbserver/spu-low.c +++ b/gdb/gdbserver/spu-low.c @@ -551,9 +551,9 @@ spu_look_up_symbols (void) /* Send signal to inferior. */ static void -spu_send_signal (int signo) +spu_request_interrupt (void) { - syscall (SYS_tkill, current_tid, signo); + syscall (SYS_tkill, current_tid, SIGINT); } static const char * @@ -576,7 +576,7 @@ static struct target_ops spu_target_ops = { spu_read_memory, spu_write_memory, spu_look_up_symbols, - spu_send_signal, + spu_request_interrupt, NULL, NULL, NULL, |