This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


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

Re: problem in /gdb-20000202/include/coff/arm.h



Problem is fixed.

	David

On Fri, 11 Feb 2000, Andrew Cagney wrote:

> 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
> > +
> 



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