From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11717 invoked by alias); 9 May 2008 05:39:50 -0000 Received: (qmail 11544 invoked by uid 22791); 9 May 2008 05:39:49 -0000 X-Spam-Check-By: sourceware.org Received: from yw-out-1718.google.com (HELO yw-out-1718.google.com) (74.125.46.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 May 2008 05:39:32 +0000 Received: by yw-out-1718.google.com with SMTP id 9so852392ywk.48 for ; Thu, 08 May 2008 22:39:28 -0700 (PDT) Received: by 10.150.215.5 with SMTP id n5mr4415976ybg.73.1210311567872; Thu, 08 May 2008 22:39:27 -0700 (PDT) Received: by 10.151.39.16 with HTTP; Thu, 8 May 2008 22:39:27 -0700 (PDT) Message-ID: Date: Fri, 09 May 2008 05:39:00 -0000 From: "Geert Vancompernolle" To: gdb@sourceware.org Subject: Re: GDB for target mips2_fp_le In-Reply-To: <20080507181842.GA8592@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4821F173.2040208@gmail.com> <20080507181842.GA8592@caradoc.them.org> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00071.txt.bz2 On Wed, May 7, 2008 at 8:18 PM, Daniel Jacobowitz 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