From ab39bf24663fb4cf0a9866c864a3b02f4e0770f4 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Thu, 22 Feb 2007 17:41:37 +0000 Subject: [PATCH] * spu-low.c (spu_arch_string): New. (spu_target_ops): Add spu_arch_string. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/spu-low.c | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index d22ee6cec6f..e85c2e5c31c 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2007-02-22 Markus Deuling + + * spu-low.c (spu_arch_string): New. + (spu_target_ops): Add spu_arch_string. + 2007-02-16 Daniel Jacobowitz * remote-utils.c: Remove HAVE_TERMINAL_H check. diff --git a/gdb/gdbserver/spu-low.c b/gdb/gdbserver/spu-low.c index a7b7a614894..3599208b261 100644 --- a/gdb/gdbserver/spu-low.c +++ b/gdb/gdbserver/spu-low.c @@ -556,6 +556,12 @@ spu_send_signal (int signo) syscall (SYS_tkill, current_tid, signo); } +static const char * +spu_arch_string (void) +{ + return "spu"; +} + static struct target_ops spu_target_ops = { spu_create_inferior, @@ -572,6 +578,13 @@ static struct target_ops spu_target_ops = { spu_look_up_symbols, spu_send_signal, NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + spu_arch_string, }; void -- 2.30.2