From: Andrew Cagney Date: Sat, 20 Oct 2001 00:16:44 +0000 (+0000) Subject: Enable PowerPC simulator on native linux and netbsd. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=457174f64589daa9de82ec30b109e69b1e28ce3b;p=binutils-gdb.git Enable PowerPC simulator on native linux and netbsd. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 77c0a0dc42a..c7e907265fe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gdb/config/powerpc/linux.mt b/gdb/config/powerpc/linux.mt index 0e3d068da89..01160b98704 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 7a32fd2db4c..acc5da804ca 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 0834ccf18f3..e1d20df28ab 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 8d324ad74ec..b8029dd4da4 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 e472f8862b9..e48ae36630d 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.