aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/spu-low.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2007-02-25 17:59:43 +0000
committerPedro Alves <palves@redhat.com>2007-02-25 17:59:43 +0000
commitef57601be42a9737cc3bc67f6ddba457e7a5db07 (patch)
treee98a58d5e9d22c6b7e75fbef877009a9943d1f20 /gdb/gdbserver/spu-low.c
parent820f2bda8e60b9fa27458fb5b68cebc062ec5e7d (diff)
downloadgdb-ef57601be42a9737cc3bc67f6ddba457e7a5db07.zip
gdb-ef57601be42a9737cc3bc67f6ddba457e7a5db07.tar.gz
gdb-ef57601be42a9737cc3bc67f6ddba457e7a5db07.tar.bz2
* 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbserver/spu-low.c b/gdb/gdbserver/spu-low.c
index 3599208..b5b5f48 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,