Re: GDB for target mips2_fp_le

Geert Vancompernolle
2008-05-09T05:39:50Z

On Wed, May 7, 2008 at 8:18 PM, Daniel Jacobowitz <drow@false.org> wrote:
> On Wed, May 07, 2008 at 08:14:11PM +0200, Geert Vancompernolle wrote:
>> Hi,
>>
>> I just asked the following questions in the Insight forum (GUI for the
>> GDB debugger), but they advised me to post the question in the GDB forum:
>>
>> 1. When running "./config.sub mips" before building Red Hat Insight, I
>> only get the target "mips-unknown-elf".
>> Is there a possibility to compile for mips2_fp_le? Can mips-unknown-elf
>> be used for mips2_fp_le?
>
> It sounds like you want "mips-linux" since mips2_fp_le is what
> MontaVista calls one of their Linux targeted toolchains.
>

Ok, so I assume I can take the "risk" and use "mips-unknown-elf" to
try to debug a target having "mips2_fp_le" then?

>> 2. Is it possible to build for a Windows host and a Linux target?
>> I would like to know if I can run Insight on a Win32 platform and using
>> it to debug an embedded Linux system.
>
> Yes for GDB, but I don't know about Insight. For that you may require
> Cygwin.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>

Reason why I'm asking this:

I've compiled Insight for PC host and mips-unknown-elf for target.

However, when running Insight on the PC platform (not Linux) and then
trying to start debugging the mips2_fp_le target, I'm getting the
following pop-up dialogue:

Begin quote

A handler for the OS ABI "GNU/Linux" is not built into this
configuration of GDB. Attempting to continue with the default
mips:6000 settings.

End quote

What am I missing while compiling GDB for mips, that is causing this problem?

Best rgds,

--Geert