aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-08-28 10:20:21 +0000
committerAndrew Cagney <cagney@redhat.com>1997-08-28 10:20:21 +0000
commitd0aba53f38a67ebccc29d691e878ff324bd4de14 (patch)
treec6bd2dea594fb2e5968c2f7606b2b4c0f02b11a4 /gdb/sh3-rom.c
parentAdd sh3 et.al. to SH arch table. (diff)
downloadbinutils-gdb-d0aba53f38a67ebccc29d691e878ff324bd4de14.tar.gz
binutils-gdb-d0aba53f38a67ebccc29d691e878ff324bd4de14.tar.bz2
binutils-gdb-d0aba53f38a67ebccc29d691e878ff324bd4de14.zip
New commands ``set architecture'', ``show architecture'' and ``info
architecture''. Update SH target to use new target_architecture_hook.
Diffstat (limited to 'gdb/sh3-rom.c')
-rw-r--r--gdb/sh3-rom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh3-rom.c b/gdb/sh3-rom.c
index 92992607199..a4e3b7146ae 100644
--- a/gdb/sh3-rom.c
+++ b/gdb/sh3-rom.c
@@ -284,7 +284,7 @@ sh3_open (args, from_tty)
}
/* If we connected successfully, we know the processor is an SH3. */
- sh_set_processor_type ("sh3");
+ set_architecture ("sh3", 0);
}
@@ -333,7 +333,7 @@ sh3e_open (args, from_tty)
}
/* If we connected successfully, we know the processor is an SH3E. */
- sh_set_processor_type ("sh3e");
+ set_architecture ("sh3e", 0);
}
static void