Can't set architecture to m32c on m32c-elf-gdb.
Masaki Muranaka
monaka@monami-software.com
Fri Dec 5 00:29:00 GMT 2008
More information about the Binutils mailing list
Fri Dec 5 00:29:00 GMT 2008
- Previous message (by thread): Can't set architecture to m32c on m32c-elf-gdb.
- Next message (by thread): new warning with 2.19
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, The result of <tab><tab> is : | This GDB was configured as "--host=i386-apple-darwin9.5.0 --target=m32c-elf". | For bug reporting instructions, please see: | <http://www.gnu.org/software/gdb/bugs/>. | (gdb) set architecture | auto m16c m32c On 2008/12/04, at 23:22, Pedro Alves wrote: > On Thursday 04 December 2008 13:12:24, Daniel Jacobowitz wrote: >> On Thu, Dec 04, 2008 at 03:47:05PM +0900, Masaki Muranaka wrote: >>>> 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'? >> >> Strange. I guess I don't understand how this works, then. I thought >> this would do it: >> >> /* Given that printable_name contains no colon, attempt to match: >> ARCH_NAME [ ":" ] PRINTABLE_NAME? */ >> > > The "Undefined item:" error comes from the fact that "set architecture" is > an "enum" command, and gdb is complaining that those entries aren't listed > as possible enumerations. > > All settings gdb will accept are shown with 'set architecture <tab><tab>'. > What options does that show? > > -- > Pedro Alves > Masaki Muranaka Monami Software
- Previous message (by thread): Can't set architecture to m32c on m32c-elf-gdb.
- Next message (by thread): new warning with 2.19
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list