aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-10-20 00:16:44 +0000
committerAndrew Cagney <cagney@redhat.com>2001-10-20 00:16:44 +0000
commit457174f64589daa9de82ec30b109e69b1e28ce3b (patch)
treefe1b855a7464a3b883f7a4854af95cd9ab9c9a07
parente1a0bf5185af6251a9cebb6e302089bfc99a89bb (diff)
downloadgdb-457174f64589daa9de82ec30b109e69b1e28ce3b.zip
gdb-457174f64589daa9de82ec30b109e69b1e28ce3b.tar.gz
gdb-457174f64589daa9de82ec30b109e69b1e28ce3b.tar.bz2
Enable PowerPC simulator on native linux and netbsd.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/powerpc/linux.mt3
-rw-r--r--gdb/config/powerpc/nbsd.mt3
-rw-r--r--sim/ChangeLog5
-rwxr-xr-xsim/configure3
-rw-r--r--sim/configure.in3
6 files changed, 20 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 77c0a0d..c7e9072 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2001-10-18 Andrew Cagney <ac131313@redhat.com>
+ * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
+ * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto
+
+2001-10-18 Andrew Cagney <ac131313@redhat.com>
+
* README: Mention problems with HP/UX.
2001-10-16 Andrew Cagney <ac131313@redhat.com>
diff --git a/gdb/config/powerpc/linux.mt b/gdb/config/powerpc/linux.mt
index 0e3d068..01160b9 100644
--- a/gdb/config/powerpc/linux.mt
+++ b/gdb/config/powerpc/linux.mt
@@ -1,3 +1,6 @@
# Target: Motorola PPC on Linux
TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o solib.o solib-svr4.o solib-legacy.o
TM_FILE= tm-linux.h
+
+SIM_OBS = remote-sim.o
+SIM = ../sim/ppc/libsim.a
diff --git a/gdb/config/powerpc/nbsd.mt b/gdb/config/powerpc/nbsd.mt
index 7a32fd2..acc5da8 100644
--- a/gdb/config/powerpc/nbsd.mt
+++ b/gdb/config/powerpc/nbsd.mt
@@ -3,3 +3,6 @@ TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o
TM_FILE= tm-nbsd.h
GDBSERVER_DEPFILES= low-nbsd.o
+
+SIM_OBS = remote-sim.o
+SIM = ../sim/ppc/libsim.a
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 0834ccf..e1d20df 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-19 Andrew Cagney <ac131313@redhat.com>
+
+ * configure.in: When Linux or NetBSD, enable PowerPC simulator.
+ * configure: Re-generate.
+
2001-02-16 Ben Elliston <bje@redhat.com>
* MAINTAINERS: Add myself for common portions.
diff --git a/sim/configure b/sim/configure
index 8d324ad..b8029dd 100755
--- a/sim/configure
+++ b/sim/configure
@@ -1448,7 +1448,8 @@ case "${target}" in
sim_target=mn10200
;;
sh*-*-*) sim_target=sh ;;
- powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | powerpc*-*-elf* | powerpc*-*-linux* )
+ powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | \
+ powerpc*-*-elf* | powerpc*-*-linux* | powerpc*-*-netbsd* )
# The PowerPC simulator uses the GCC extension long long as well as
# ANSI prototypes, so don't enable it for random host compilers
# unless asked to.
diff --git a/sim/configure.in b/sim/configure.in
index e472f88..e48ae36 100644
--- a/sim/configure.in
+++ b/sim/configure.in
@@ -87,7 +87,8 @@ case "${target}" in
sim_target=mn10200
;;
sh*-*-*) sim_target=sh ;;
- powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | powerpc*-*-elf* | powerpc*-*-linux* )
+ powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | \
+ powerpc*-*-elf* | powerpc*-*-linux* | powerpc*-*-netbsd* )
# The PowerPC simulator uses the GCC extension long long as well as
# ANSI prototypes, so don't enable it for random host compilers
# unless asked to.