This is the mail archive of the insight@sourceware.cygnus.com mailing list for the Insight project.


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

Re: The definition for bfd_mach_sh4 is missing .


[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

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