This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Can't set architecture to m32c on m32c-elf-gdb.
- From: Nick Clifton <nickc at redhat dot com>
- To: Masaki Muranaka <monaka at monami-software dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb-patches at sourceware dot org, binutils at sourceware dot org
- Date: Wed, 06 Jan 2010 15:17:37 +0000
- Subject: Re: Can't set architecture to m32c on m32c-elf-gdb.
- References: <DD44C478-4E49-4C47-98AB-06DDD086DC40@monami-software.com> <20081203140802.GA6965@caradoc.them.org> <50B2818F-7217-4D63-ABE8-19E444FE9A40@monami-software.com> <4B3C9784.1040309@redhat.com> <21F11493-3DE3-41FA-97D5-B539B54259A2@monami-software.com>
Hi Masaki,
Really did you try them? Here is a log of my GDB.
(gdb) show architecture
The target architecture is set automatically (currently m16c)
(gdb) set architecture m32c:m32c
Undefined item: "m32c:m32c".
(gdb) set architecture m32c:m16c
Undefined item: "m32c:m16c".
Point. But when I try this:
(gdb) show architecture
The target architecture is set automatically (currently m16c)
(gdb) set architecture m32c
The target architecture is assumed to be m32c
(gdb) show architecture
The target architecture is assumed to be m32c
(gdb) set architecture m16c
The target architecture is assumed to be m16c
(gdb) show architecture
The target architecture is assumed to be m16c
So it appears that you can set the architecture to m32c, yes ?
Cheers
Nick