This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Can't set architecture to m32c on m32c-elf-gdb.
- From: Masaki Muranaka <monaka at monami-software dot com>
- To: gdb-patches at sourceware dot org, binutils at sourceware dot org
- Date: Wed, 3 Dec 2008 18:16:29 +0900
- Subject: Can't set architecture to m32c on m32c-elf-gdb.
Hello,
I couldn't set architecture m16c to m32c on the HEAD revision of gdb,
I think it is caused by definition in bfd/cpu-m32c.c but I'm not certain.
Any comments appreciated.
Thanks.
Index: cpu-m32c.c
===================================================================
RCS file: /cvs/src/src/bfd/cpu-m32c.c,v
retrieving revision 1.3
diff -u -p -r1.3 cpu-m32c.c
--- cpu-m32c.c 3 Jul 2007 14:26:40 -0000 1.3
+++ cpu-m32c.c 3 Dec 2008 09:07:51 -0000
@@ -47,7 +47,7 @@ const bfd_arch_info_type bfd_m32c_arch =
8, /* Bits per byte. */
bfd_arch_m32c, /* Architecture. */
bfd_mach_m16c, /* Machine. */
- "m32c", /* Architecture name. */
+ "m16c", /* Architecture name. */
"m16c", /* Printable name. */
4, /* Section align power. */
TRUE, /* The default ? */
--
Masaki Muranaka
Monami Software