Enable PowerPC simulator on native linux and netbsd.
authorAndrew Cagney <cagney@redhat.com>
Sat, 20 Oct 2001 00:16:44 +0000 (00:16 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 20 Oct 2001 00:16:44 +0000 (00:16 +0000)
gdb/ChangeLog
gdb/config/powerpc/linux.mt
gdb/config/powerpc/nbsd.mt
sim/ChangeLog
sim/configure
sim/configure.in

index 77c0a0d..c7e9072 100644 (file)
@@ -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>
index 0e3d068..01160b9 100644 (file)
@@ -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
index 7a32fd2..acc5da8 100644 (file)
@@ -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
index 0834ccf..e1d20df 100644 (file)
@@ -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.
index 8d324ad..b8029dd 100755 (executable)
@@ -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.
index e472f88..e48ae36 100644 (file)
@@ -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.