[Top] [All Lists]

Re: native GDB on Linux/MIPS?

To: Ralf Baechle <>
Subject: Re: native GDB on Linux/MIPS?
From: Jun Sun <>
Date: Fri, 12 May 2000 11:42:58 -0700
Cc: Klaus Naumann <>, Linux MIPS <>
References: <> <20000509122257.B5404@spock> <> <> <>
Ralf Baechle wrote:
> On Wed, May 10, 2000 at 03:23:29PM -0700, Jun Sun wrote:
> > I started to play with gdb SRPM.  I failed to create gdbserver.  It
> > appears that no low-level code exists for mipsel-linux.  There is
> > low-linux.c but hardcoded for i386.
> >
> > If this is true, I'd like to give it a shot.
> Yes, we don't have gdbserver and given that more and more embedded systems
> use Linux/MIPS gdb server sounds like a good idea.
>   Ralf

gdbserver for MIPS is almost working.  However, I hit an unexpected
problem - I cannot configure the SGI gdb (v4.17) with i586-pc-linux-gnu
as the host.  I was able to do that with generic gdb distribution.  Is
this a bug in SGI's gdb SRPM?

The problem seems to be the mipsel-linux-gcc is used no matter what host
you are setting.

Does anybody have an idea how to fix it?  Since my gdbserver patch is
against SGI gdb SRPM, it certainly make sense to generate the gdb client
from the same package.


<Prev in Thread] Current Thread [Next in Thread>