From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16750 invoked by alias); 25 Jun 2004 18:38:12 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16736 invoked from network); 25 Jun 2004 18:38:10 -0000 Received: from unknown (HELO mms2.broadcom.com) (63.70.210.59) by sourceware.org with SMTP; 25 Jun 2004 18:38:10 -0000 Received: from 63.70.210.1 by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (MMS v5.6.0)); Fri, 25 Jun 2004 11:37:58 -0700 X-Server-Uuid: 011F2A72-58F1-4BCE-832F-B0D661E896E8 Received: from mail-sj1-5.sj.broadcom.com (mail-sj1-5.sj.broadcom.com [10.16.128.236]) by mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id LAA10487; Fri, 25 Jun 2004 11:37:22 -0700 (PDT) Received: from ldt-sj3-010.sj.broadcom.com (ldt-sj3-010 [10.21.64.10]) by mail-sj1-5.sj.broadcom.com (8.12.9/8.12.9/SSF) with ESMTP id i5PIbuov027926; Fri, 25 Jun 2004 11:37:57 -0700 (PDT) Received: (from cgd@localhost) by ldt-sj3-010.sj.broadcom.com ( 8.11.6/8.9.3) id i5PIbux22214; Fri, 25 Jun 2004 11:37:56 -0700 X-Authentication-Warning: ldt-sj3-010.sj.broadcom.com: cgd set sender to cgd@broadcom.com using -f To: monika@acmet.com cc: gdb@sources.redhat.com Subject: [PATCH] Re: gdb6.1: Problem in building for mips16 References: <002101c45775$fde219a0$5100a8c0@monika> From: cgd@broadcom.com Date: Fri, 25 Jun 2004 18:38:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 X-WSS-ID: 6CC2AE8C1T012695665-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-06/txt/msg00253.txt.bz2 At Mon, 21 Jun 2004 10:06:34 +0000 (UTC), "Monika Chaddha" wrote: > [monika@gnuserver build]$ ../src/configure --target=mips16-elf > --prefix=/home/monika/gdb6.1/install/ > > After that I am running 'make all' but not able to build for mips16 There is an error in the GDB 6.1 MIPS simulator configuration scripts for the mips16-elf target. I've just verified that the patch below allows the current head of the 6.1 branch configures/builds for mips16-elf with this patch applied. The patch should apply cleanly to 6.1 as well. You'll need to apply this patch, in the sim/mips directory. Note that in this patch, i've included a patch to both configure.in and configure. (Normally, we'd only send the former to the list, then run autoconf to regenerate the latter. I've included the patch to both so that you don't need to run autoconf yourself.) I've applied this to the 6.1.x branch (so it will appear in future 6.1.x releases) and to the trunk. Sorry for the inconvenience. cgd -- 2004-06-25 Chris Demetriou * configure.in (sim_m16_machine): Include mipsIII. * configure: Regenerate. Index: configure.in =================================================================== RCS file: /cvs/src/src/sim/mips/configure.in,v retrieving revision 1.6 diff -u -p -r1.6 configure.in --- configure.in 5 Jan 2003 07:56:59 -0000 1.6 +++ configure.in 25 Jun 2004 18:31:57 -0000 @@ -99,7 +99,7 @@ SIM_AC_OPTION_SMP($mips_smp) # sim_gen=IGEN sim_igen_machine="-M mipsIV" -sim_m16_machine="-M mips16" +sim_m16_machine="-M mips16,mipsIII" sim_igen_filter="32,64,f" sim_m16_filter="16" sim_mach_default="mips8000" Index: configure =================================================================== RCS file: /cvs/src/src/sim/mips/configure,v retrieving revision 1.9 diff -u -p -r1.9 configure --- configure 5 Jan 2003 07:56:59 -0000 1.9 +++ configure 25 Jun 2004 18:31:57 -0000 @@ -4061,7 +4061,7 @@ fi # sim_gen=IGEN sim_igen_machine="-M mipsIV" -sim_m16_machine="-M mips16" +sim_m16_machine="-M mips16,mipsIII" sim_igen_filter="32,64,f" sim_m16_filter="16" sim_mach_default="mips8000"