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

Masaki Muranaka monaka@monami-software.com
Thu Dec 4 06:48:00 GMT 2008
Hello,

On 2008/12/04, at 13:26, Daniel Jacobowitz wrote:
> ARM has architecture name "arm" and printable name "armv2", and that
> works fine:
>
> (gdb)  set architecture arm
> The target architecture is assumed to be arm
> (gdb)  set architecture armv2
> The target architecture is assumed to be armv2
> (gdb)  set architecture arm
> The target architecture is assumed to be arm

Ok. I'll read the code for ARM later.

> See bfd_default_scan for more.  I guess it's because the architecture
> is named "m32c", but the default flag is set for m16c.  If that's so,
> "set architecture m32c:m32c" should work - does it?

| For bug reporting instructions, please see:
| <http://www.gnu.org/software/gdb/bugs/>.
| (gdb) set architecture m32c:m32c
| Undefined item: "m32c:m32c".
| (gdb) set architecture m32c:m16c
| Undefined item: "m32c:m16c".

Should I put any commands before 'set architecture'?

--
Masaki Muranaka
Monami Software






More information about the Binutils mailing list