From bc1a5e549e49774dd9b8a8b78d1e6ad5a4ce2f17 Mon Sep 17 00:00:00 2001 From: cagney Date: Sat, 20 Oct 2001 00:16:42 +0000 Subject: [PATCH] Enable PowerPC simulator on native linux and netbsd. --- gdb/ChangeLog | 5 +++++ gdb/config/powerpc/linux.mt | 3 +++ gdb/config/powerpc/nbsd.mt | 3 +++ sim/ChangeLog | 5 +++++ sim/configure | 3 ++- sim/configure.in | 3 ++- 6 files changed, 20 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 77c0a0dc42..c7e907265f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2001-10-18 Andrew Cagney + * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define. + * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto + +2001-10-18 Andrew Cagney + * README: Mention problems with HP/UX. 2001-10-16 Andrew Cagney diff --git a/gdb/config/powerpc/linux.mt b/gdb/config/powerpc/linux.mt index 0e3d068da8..01160b9870 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 7a32fd2db4..acc5da804c 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 0834ccf18f..e1d20df28a 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,8 @@ +2001-10-19 Andrew Cagney + + * configure.in: When Linux or NetBSD, enable PowerPC simulator. + * configure: Re-generate. + 2001-02-16 Ben Elliston * MAINTAINERS: Add myself for common portions. diff --git a/sim/configure b/sim/configure index 8d324ad74e..b8029dd4da 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 e472f8862b..e48ae36630 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. -- 2.11.0