This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: The definition for bfd_mach_sh4 is missing .
- To: Robert <robert dot melchers at drives dot eurotherm dot co dot uk>, GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: Re: The definition for bfd_mach_sh4 is missing .
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 02 Feb 2000 11:33:18 +1100
- CC: insight at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <000101bf6cbb$2ff0af10$c9a87995@drives.eurotherm.co.uk>
[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