From: Ulrich Weigand Date: Thu, 22 Feb 2007 17:41:37 +0000 (+0000) Subject: * spu-low.c (spu_arch_string): New. X-Git-Tag: drow-reverse-20070409-branchpoint~407 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab39bf24663fb4cf0a9866c864a3b02f4e0770f4;p=platform%2Fupstream%2Fbinutils.git * spu-low.c (spu_arch_string): New. (spu_target_ops): Add spu_arch_string. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index d22ee6c..e85c2e5 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 a7b7a61..3599208 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