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]

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


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?  */

-- 
Daniel Jacobowitz
CodeSourcery


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