Does gdb 5.2 support gcc 3.1.1 on Linux/mips?

Daniel Jacobowitz drow@mvista.com
Sun Jun 2 22:01:00 GMT 2002


On Sun, Jun 02, 2002 at 07:43:26PM -0700, H . J . Lu wrote:
> On Sun, Jun 02, 2002 at 09:00:03PM -0400, Daniel Jacobowitz wrote:
> > On Sun, Jun 02, 2002 at 02:36:27PM -0700, H . J . Lu wrote:
> > > When I tried to debug gcc 3.1.1 on Linux/mips, I got
> > > 
> > > # 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.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list