Can't set architecture to m32c on m32c-elf-gdb.

Masaki Muranaka monaka@monami-software.com
Wed Dec 3 09:17:00 GMT 2008


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






More information about the Binutils mailing list