aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/spu-low.c
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/spu-low.c
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/spu-low.c')
-rw-r--r--gdb/gdbserver/spu-low.c13
1 files changed, 13 insertions, 0 deletions
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