[Patch,sim] Build psim for powerpc*-*-rtems*

Ralf Corsepius
2005-04-26T14:45:52Z

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

Hi,

Could somebody please apply the patch below.

This patch is floating around for gdb-rtems for years, but never seems
to have made it into gdb ;-)

TIA,
Ralf

[-- Attachment #2: gdb-rtems-psim.diff --]
[-- Type: text/x-patch, Size: 1552 bytes --]

2005-04-25 Ralf Corsepius <ralf.corsepius@rtems.org>

* configure.ac: build psim for powerpc*-*-rtems*.
* configure: Regenerate.

Index: configure
===================================================================
RCS file: /cvs/src/src/sim/configure,v
retrieving revision 1.13
diff -u -r1.13 configure
--- configure 26 Jan 2004 08:12:43 -0000 1.13
+++ configure 26 Apr 2005 14:38:26 -0000
@@ -1458,7 +1458,7 @@
extra_subdirs="${extra_subdirs} testsuite"
;;
powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | \
- powerpc*-*-elf* | powerpc*-*-linux* | powerpc*-*-netbsd* )
+ powerpc*-*-elf* | powerpc*-*-linux* | powerpc*-*-netbsd* | powerpc*-*-rtems* )
# 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: configure.in
===================================================================
RCS file: /cvs/src/src/sim/Attic/configure.in,v
retrieving revision 1.15
diff -u -r1.15 configure.in
--- configure.in 26 Jan 2004 08:12:43 -0000 1.15
+++ configure.in 26 Apr 2005 14:38:26 -0000
@@ -97,7 +97,7 @@
extra_subdirs="${extra_subdirs} testsuite"
;;
powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | \
- powerpc*-*-elf* | powerpc*-*-linux* | powerpc*-*-netbsd* )
+ powerpc*-*-elf* | powerpc*-*-linux* | powerpc*-*-netbsd* | powerpc*-*-rtems* )
# 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.