diff options
author | Pedro Alves <palves@redhat.com> | 2007-05-10 21:33:31 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2007-05-10 21:33:31 +0000 |
commit | dd6953e1f3ca7a60bbb1631d7b1821ebeefcccee (patch) | |
tree | 55fad8ea18a0fbfa8c1a436e709bb28fe29e3e00 /gdb/gdbserver/spu-low.c | |
parent | 4ddda9b5ebfd271d7f6424bc40f4e389813250cc (diff) | |
download | gdb-dd6953e1f3ca7a60bbb1631d7b1821ebeefcccee.zip gdb-dd6953e1f3ca7a60bbb1631d7b1821ebeefcccee.tar.gz gdb-dd6953e1f3ca7a60bbb1631d7b1821ebeefcccee.tar.bz2 |
* linux-low.c (linux_detach): Change return type to int. Return 0.
* spu-low.c (spu_detach): Likewise.
Diffstat (limited to 'gdb/gdbserver/spu-low.c')
-rw-r--r-- | gdb/gdbserver/spu-low.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbserver/spu-low.c b/gdb/gdbserver/spu-low.c index 5dbc811..22ff74a 100644 --- a/gdb/gdbserver/spu-low.c +++ b/gdb/gdbserver/spu-low.c @@ -314,10 +314,11 @@ spu_kill (void) } /* Detach from inferior process. */ -static void +static int spu_detach (void) { ptrace (PTRACE_DETACH, current_tid, 0, 0); + return 0; } static void |