Does gdb 5.2 support gcc 3.1.1 on Linux/mips?

H . J . Lu hjl@lucon.org
Sun Jun 2 22:05:00 GMT 2002


On Mon, Jun 03, 2002 at 01:01:01AM -0400, Daniel Jacobowitz wrote:
> 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.

Did you imply gdb 5.2 worked fine for you with gcc 3.1.1 running on
your mips platform? My Linux/mipsel gcc 3.1.1 seems to work ok
otherwise:

http://gcc.gnu.org/ml/gcc-testresults/2002-06/msg00069.html


H.J.



More information about the Gdb mailing list