diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-11-17 00:44:38 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-11-17 00:44:38 +0000 |
commit | 9b624dbeed0c879156474b1da5d9fb52bd179d8b (patch) | |
tree | 72ed342bc49c805cab007efe0ae5fb1edb98bee7 /gdb/configure.tgt | |
parent | fa987fc4f366d3b1ea269ec9d4bb3768dbf71a43 (diff) | |
download | gdb-9b624dbeed0c879156474b1da5d9fb52bd179d8b.zip gdb-9b624dbeed0c879156474b1da5d9fb52bd179d8b.tar.gz gdb-9b624dbeed0c879156474b1da5d9fb52bd179d8b.tar.bz2 |
* config/arm/embed.mt (SIM_OBS, SIM): Remove.
* config/avr/avr.mt (SIM_OBS, SIM): Remove.
* config/frv/frv.mt (SIM_OBS, SIM): Remove.
* config/h8300/h8300.mt (SIM_OBS, SIM): Remove.
* config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove.
* config/m32c/m32c.mt (SIM_OBS, SIM): Remove.
* config/m32r/linux.mt (SIM_OBS, SIM): Remove.
* config/m32r/m32r.mt (SIM_OBS, SIM): Remove.
* config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove.
* config/mips/embed.mt (SIM_OBS, SIM): Remove.
* config/mips/linux.mt (SIM_OBS, SIM): Remove.
* config/mips/nbsd.mt (SIM_OBS, SIM): Remove.
* config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove.
* config/powerpc/linux.mt (SIM_OBS, SIM): Remove.
* config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove.
* config/powerpc/ppc-sim.mt: Remove file.
* config/sh/embed.mt (SIM_OBS, SIM): Remove.
* config/sh/linux.mt (SIM_OBS, SIM): Remove.
* config/sh/nbsd.mt (SIM_OBS, SIM): Remove.
* config/sh/sh64.mt (SIM_OBS, SIM): Remove.
* config/sparc/embed.mt (SIM_OBS, SIM): Remove.
* config/v850/v850.mt (SIM_OBS, SIM): Remove.
* config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove.
* configure.tgt (gdb_sim): Document variable.
(arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it.
(avr-*-*): Likewise.
(frv-*-*): Likewise.
(h8300-*-*): Likewise.
(iq2000-*-*): Likewise.
(m32c-*-*): Likewise.
(m32r*-*-linux*): Likewise.
(m32r*-*-*): Likewise.
(m68hc11*-*-*|m6811*-*-*): Likewise.
(mips*-*-*): Likewise.
(mips*-*-linux*): Likewise.
(mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise.
(mn10300-*-*): Likewise.
(powerpc-*-linux* | powerpc64-*-linux*): Likewise.
(powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise.
(powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim.
(sh*): Set gdb_sim.
(sh-*-linux*): Likewise.
(sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise.
(sh64-*-elf*): Likewise.
(sparc-*-rtems*): Likewise.
(v850*-*-elf): Likewise.
(xstormy16-*-*): Likewise.
* configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set.
(SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}.
* configure: Regenerate.
* Makefile.in (SIM, SIM_OBS): Substitute from configure.
(@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r-- | gdb/configure.tgt | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 9c77fb1..e24835c 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -4,6 +4,7 @@ # This file sets the following shell variables: # gdb_target_cpu generic name of CPU # gdb_target name of GDB target definition to use +# gdb_sim simulator library for target # gdb_osabi default OS ABI to use with target # build_gdbserver set to "yes" if gdbserver supports target @@ -100,10 +101,15 @@ arm*-*-openbsd*) ;; arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*) gdb_target=embed + gdb_sim=../sim/arm/libsim.a ;; avr-*-*) gdb_target=avr + # There is no simulator provided with gdb (yet). + # See <http://savannah.gnu.org/projects/simulavr/> + # for the simulator used during development of avr + # support for gdb. ;; cris*) @@ -112,10 +118,12 @@ cris*) frv-*-*) gdb_target=frv + gdb_sim=../sim/frv/libsim.a ;; h8300-*-*) gdb_target=h8300 + gdb_sim=../sim/h8300/libsim.a ;; hppa*-*-hpux*) @@ -178,22 +186,29 @@ ia64*-*-*) iq2000-*-*) gdb_target=iq2000 + gdb_sim=../sim/iq2000/libsim.a ;; m32c-*-*) gdb_target=m32c + # There may also be a SID / CGEN simulator for this, + # but we do have DJ Delorie's mini-sim. + gdb_sim=../sim/m32c/libsim.a ;; m32r*-*-linux*) gdb_target=linux + gdb_sim=../sim/m32r/libsim.a build_gdbserver=yes ;; m32r*-*-*) gdb_target=m32r + gdb_sim=../sim/m32r/libsim.a ;; m68hc11*-*-*|m6811*-*-*) gdb_target=m68hc11 + gdb_sim=../sim/m68hc11/libsim.a ;; m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \ @@ -227,20 +242,24 @@ mips*-sgi-irix6*) ;; mips*-*-linux*) gdb_target=linux + gdb_sim=../sim/mips/libsim.a build_gdbserver=yes ;; mips*-*-netbsd* | mips*-*-knetbsd*-gnu) gdb_target=nbsd + gdb_sim=../sim/mips/libsim.a ;; mips64*-*-openbsd*) gdb_target=obsd64 ;; mips*-*-*) gdb_target=embed + gdb_sim=../sim/mips/libsim.a ;; mn10300-*-*) gdb_target=mn10300 + gdb_sim=../sim/mn10300/libsim.a ;; mt-*-*) @@ -249,6 +268,7 @@ mt-*-*) powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) gdb_target=nbsd + gdb_sim=../sim/ppc/libsim.a ;; powerpc-*-openbsd*) gdb_target=obsd @@ -258,13 +278,13 @@ powerpc-*-aix* | rs6000-*-*) ;; powerpc-*-linux* | powerpc64-*-linux*) gdb_target=linux + gdb_sim=../sim/ppc/libsim.a build_gdbserver=yes ;; powerpc*-*-*) + gdb_target=ppc-eabi if test -f ../sim/ppc/Makefile; then - gdb_target=ppc-sim - else - gdb_target=ppc-eabi + gdb_sim=../sim/ppc/libsim.a fi ;; @@ -280,19 +300,23 @@ score-*-*) # FIXME should that be sh*-*-linux*, perhaps? sh-*-linux*) gdb_target=linux + gdb_sim=../sim/sh/libsim.a build_gdbserver=yes ;; sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) gdb_target=nbsd + gdb_sim=../sim/sh/libsim.a ;; sh*-*-openbsd*) gdb_target=obsd ;; sh64-*-elf*) gdb_target=sh64 + gdb_sim=../sim/sh64/libsim.a ;; sh*) gdb_target=embed + gdb_sim=../sim/sh/libsim.a ;; sparc-*-linux*) @@ -324,6 +348,7 @@ sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) ;; sparc-*-rtems*) gdb_target=embed + gdb_sim=../sim/erc32/libsim.a ;; sparc-*-*) gdb_target=sparc @@ -339,10 +364,12 @@ spu*-*-*) xstormy16-*-*) gdb_target=xstormy16 + # No simulator libraries are needed -- target uses SID. ;; v850*-*-elf) gdb_target=v850 + gdb_sim=../sim/v850/libsim.a ;; vax-*-netbsd* | vax-*-knetbsd*-gnu) |