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 77c0a0dc42ac4849d434378607611d8751659af9..c7e907265fe98cfca5f73661264cb0b2b7aad0f1 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 0e3d068da890577ae0822b10968dc14ae8c7c8e0..01160b9870466d4426fb1b8cbe8fb158009ef7bf 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 7a32fd2db4c94181c281757693d38a6c2f5b6df2..acc5da804cac60655113627e4f1400d04e864466 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 0834ccf18f3800034460f2810ebb7d701ad7efab..e1d20df28ab170ba1db41f60d06dcb66c9613151 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 8d324ad74ec25a3f0c99a138587ec3b0584ed9ec..b8029dd4da4f3e8f511ddceae478af0ea76f455e 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 e472f8862b90273a0834ae00e86b3e1851b061e8..e48ae36630ded2fe09dd7d1a0a98fe86101759e8 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.