This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]