* spu-low.c (spu_arch_string): New.
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 22 Feb 2007 17:41:37 +0000 (17:41 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 22 Feb 2007 17:41:37 +0000 (17:41 +0000)
        (spu_target_ops): Add spu_arch_string.

gdb/gdbserver/ChangeLog
gdb/gdbserver/spu-low.c

index d22ee6c..e85c2e5 100644 (file)
@@ -1,3 +1,8 @@
+2007-02-22  Markus Deuling  <deuling@de.ibm.com>
+
+       * spu-low.c (spu_arch_string): New.
+       (spu_target_ops): Add spu_arch_string.
+
 2007-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * remote-utils.c: Remove HAVE_TERMINAL_H check.
index a7b7a61..3599208 100644 (file)
@@ -556,6 +556,12 @@ spu_send_signal (int signo)
   syscall (SYS_tkill, current_tid, signo);
 }
 
+static const char *
+spu_arch_string (void)
+{
+  return "spu";
+}
+
 \f
 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