This is the mail archive of the gdb@sources.redhat.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]
Other format: [Raw text]

Re: Does gdb 5.2 support gcc 3.1.1 on Linux/mips?


On Mon, Jun 03, 2002 at 01:01:01AM -0400, Daniel Jacobowitz wrote:
> > > > # gdb xgcc
> > > > GNU gdb 5.2-0.5 (5.2.0_2002-05-23-cvs)
> > > > ...
> > > > DW_FORM_strp pointing outside of .debug_str section
> > > > 
> > > > gdb 5.2 works fine on Linux/x86 with gcc 3.1.1. Has anyone tried gdb
> > > > 5.2 with gcc 3.1/3.2 running on any mips targets?
> > > 
> > > My memory is hazy, but I believe this was a linker bug.  Are you using
> > > a current version of ld?
> > > 
> > 
> > Yes.
> 
> Then could you check if the produced binary is incorrect?  That error
> usually indicates linker error.

So far always when I saw this it was because of running gcc -S -g and then
running gcc -g on the resulting .s file (as --dwarf2 was passed to the
assembler, thus it basically had double debug info).

	Jakub


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