From: cgd@broadcom.com
To: monika@acmet.com
Cc: gdb@sources.redhat.com
Subject: [PATCH] Re: gdb6.1: Problem in building for mips16
Date: Fri, 25 Jun 2004 18:38:00 -0000 [thread overview]
Message-ID: <yov5r7s37abf.fsf_-_@ldt-sj3-010.sj.broadcom.com> (raw)
In-Reply-To: <mailpost.1087812393.13172@news-sj1-1>
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 <cgd@broadcom.com>
* 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"
prev parent reply other threads:[~2004-06-25 18:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-21 10:05 Monika Chaddha
[not found] ` <mailpost.1087812393.13172@news-sj1-1>
2004-06-25 18:38 ` cgd [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yov5r7s37abf.fsf_-_@ldt-sj3-010.sj.broadcom.com \
--to=cgd@broadcom.com \
--cc=gdb@sources.redhat.com \
--cc=monika@acmet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox