The definition for bfd_mach_sh4 is missing .
Andrew Cagney
ac131313@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
[Technically this is a BFD problem, however, only GDB is showing it at
present]
Hi,
Can you put a note in your diary to check on this issue in about a
fortnight (two weeks). It and a few others should be resolved next week
as part of the gdb-on-sourceware post-mortem however such issues could
be missed.
Andrew
> Robert wrote:
>
> The definition for bfd_mach_sh4 is missing from the file File
> bfd/bfd-in2.h the patch below corrects this allowing target = sh-coff
> to build.
> gdb/sh-tdep.c requires.
>
> Robert.
>
> bfd [54] diff -c3p _bfd-in2.h bfd-in2.h
> *** _bfd-in2.h Tue Feb 01 12:58:27 2000
> --- bfd-in2.h Tue Feb 01 12:58:14 2000
> *************** enum bfd_architecture
> *** 1340,1345 ****
> --- 1340,1346 ----
> #define bfd_mach_sh 0
> #define bfd_mach_sh3 0x30
> #define bfd_mach_sh3e 0x3e
> + #define bfd_mach_sh4 0x40
> bfd_arch_alpha, /* Dec Alpha */
> #define bfd_mach_alpha_ev4 0x10
> #define bfd_mach_alpha_ev5 0x20
More information about the Gdb-patches
mailing list