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

Nick Clifton nickc@redhat.com
Fri Jan 8 11:40:00 GMT 2010


Hi Masaki,

> Hello Nick,
> 
> Though I've not tried your patch yet,  it also will works fine.
> 
> But I feel my patch is better.
> Renesas is planning to ship R32C series. They have a lot of extensions but basically based on M32C.
> R32C aims automovice areas, so it's possible they have some custom variations.
> I think it's better to specify architecture by printable name like cpu-arm.c

But that is what my patch does.  It fixes the scanning code in the bfd 
library so that when the user enters:

   set architecture m32c

in gdb it will correctly locate the m32c architecture and not the m16c 
architecture as it was doing previously.

Cheers
   Nick



More information about the Binutils mailing list