aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-02-22 17:41:37 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-02-22 17:41:37 +0000
commitab39bf24663fb4cf0a9866c864a3b02f4e0770f4 (patch)
tree04ace79ca49b44832ccadc259bf12b5f5ff0511a /gdb/gdbserver
parent6a5bb8757e503d29dd2b0cc656a8747bca71362e (diff)
downloadgdb-ab39bf24663fb4cf0a9866c864a3b02f4e0770f4.zip
gdb-ab39bf24663fb4cf0a9866c864a3b02f4e0770f4.tar.gz
gdb-ab39bf24663fb4cf0a9866c864a3b02f4e0770f4.tar.bz2
* spu-low.c (spu_arch_string): New.
(spu_target_ops): Add spu_arch_string.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/spu-low.c13
2 files changed, 18 insertions, 0 deletions
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 <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.
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