[PATCH] New gdb port: Hitachi SH5 (sh64-elf)
Elena Zannoni
ezannoni@localhost.redhat.com
Thu Feb 7 21:22:00 GMT 2002
Andrew Cagney writes:
> > +#ifdef GDB_TARGET_IS_SH64
> > + case bfd_mach_sh5:
>
> BTW, is this needed? I noticed that the sh64 opcodes (and sim?), when it was submitted, looked messed up as it didn't include all the assemblers. I suggested that be fixed.
>
>
Not all of those, no (I just went overboard). It is needed around the
invocation of the disassembly function, because that one is only
defined when the target is sh64-elf. If we had opcodes compile also
the sh64 files whe the target is sh-elf, the problem would go away.
It would be really good to unify sim+binutils. Adding a variant like
this, seems a bit of an anachronism.
libgdb.a(sh-tdep.o): In function `gdb_print_insn_sh64':
/es/scratch/ezannoni/sources/gdb/sh-tdep.c:958: undefined reference to `print_insn_sh64x_media'
collect2: ld returned 1 exit status
Elena
> Andrew
>
>
More information about the Gdb-patches
mailing list