This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: problem in /gdb-20000202/include/coff/arm.h
- To: David Whedon <davidw at gordian dot com>
- Subject: Re: problem in /gdb-20000202/include/coff/arm.h
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 11 Feb 2000 15:11:28 +1100
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <Pine.BSF.3.96.1000203120203.6128A-100000@ares.gordian.com>
David,
The merging of the BINUTILS and GDB repositories appears to have fixed
(flushed) this problem.
Could you do an update (note you'll need to switch to the new cvs/src
repository) and confirm.
Andrew
Checking the latest CVS repository this problem appears to have gone.
David Whedon wrote:
>
> struct external_reloc is redefined, gcc doesn't like this. I don't know
> which one is right, or how this should be handled. My guess is that it is
> a misapplied diff, from the cvs repository:
>
> ===================================================================
> RCS file: /cvs/gdb/gdb/include/coff/arm.h,v
> retrieving revision 1.1.1.5
> retrieving revision 1.1.1.6
> diff -u -r1.1.1.5 -r1.1.1.6
> --- gdb/include/coff/arm.h 1999/12/22 21:45:34 1.1.1.5
> +++ gdb/include/coff/arm.h 2000/01/06 03:07:10 1.1.1.6
> @@ -278,8 +278,19 @@
> char r_vaddr[4];
> char r_symndx[4];
> char r_type[2];
> +};
> +
> +#define RELOC struct external_reloc
> +#define RELSZ 10
> +
> +struct external_reloc
> +{
> + char r_vaddr[4];
> + char r_symndx[4];
> + char r_type[2];
> char r_offset[4];
> };
>
> #define RELOC struct external_reloc
> #define RELSZ 14
> +