2007-05-10 Pedro Alves * linux-low.c (linux_detach): Change return type to int. Return 0. * spu-low.c (spu_detach): Likewise. --- gdb/gdbserver/linux-low.c | 3 ++- gdb/gdbserver/spu-low.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) Index: src/gdb/gdbserver/linux-low.c =================================================================== --- src.orig/gdb/gdbserver/linux-low.c 2007-05-10 21:55:20.000000000 +0100 +++ src/gdb/gdbserver/linux-low.c 2007-05-10 22:22:04.000000000 +0100 @@ -287,10 +287,11 @@ linux_detach_one_process (struct inferio ptrace (PTRACE_DETACH, pid_of (process), 0, 0); } -static void +static int linux_detach (void) { for_each_inferior (&all_threads, linux_detach_one_process); + return 0; } static void Index: src/gdb/gdbserver/spu-low.c =================================================================== --- src.orig/gdb/gdbserver/spu-low.c 2007-05-10 21:55:20.000000000 +0100 +++ src/gdb/gdbserver/spu-low.c 2007-05-10 22:22:46.000000000 +0100 @@ -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