Does gdb 5.2 support gcc 3.1.1 on Linux/mips?

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


On Sun, Jun 02, 2002 at 10:05:34PM -0700, H . J . Lu wrote:
> 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

I haven't tried it in a while, but 3.1 snapshots worked fine with 5.2
release, yes.

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



More information about the Gdb mailing list