summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-02-07 16:58:10 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-02-07 16:58:10 +0000
commit0a7c140e34c40c47627b04bbfe5d2f0af6b4ee71 (patch)
tree8b885ec694ffb054200bb9bf1b89c5d6529672ab
parent33a5c2f647131a43a5009dbc6c9da28659b70250 (diff)
Know how to build gdb for powerpc, it doesn't work yet, but this causes
binutils to fail to configure the first time round.
-rw-r--r--gnu/usr.bin/binutils/gdb/configure.host1
-rw-r--r--gnu/usr.bin/binutils/gdb/configure.tgt5
2 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/configure.host b/gnu/usr.bin/binutils/gdb/configure.host
index f9d3eb5dc43..bb7aa7c89b4 100644
--- a/gnu/usr.bin/binutils/gdb/configure.host
+++ b/gnu/usr.bin/binutils/gdb/configure.host
@@ -132,6 +132,7 @@ powerpc-*-aix*) gdb_host=aix ;;
powerpcle-*-cygwin32) gdb_host=cygwin32 ;;
powerpcle-*-solaris*) gdb_host=solaris ;;
powerpc-*-linux*) gdb_host=linux ;;
+powerpc-*-openbsd*) gdb_host=obsd ;;
pn-*-*) gdb_host=pn ;;
pyramid-*-*) gdb_host=pyramid ;;
diff --git a/gnu/usr.bin/binutils/gdb/configure.tgt b/gnu/usr.bin/binutils/gdb/configure.tgt
index 126c02b49ef..d36baf188e8 100644
--- a/gnu/usr.bin/binutils/gdb/configure.tgt
+++ b/gnu/usr.bin/binutils/gdb/configure.tgt
@@ -194,7 +194,10 @@ powerpc-*-aix4*) gdb_target=aix4 ;;
powerpc-*-aix*) gdb_target=aix ;;
powerpcle-*-cygwin32) gdb_target=cygwin32 ;;
powerpcle-*-solaris*) gdb_target=solaris ;;
-powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv* | powerpc-*-elf* | powerpc-*-*bsd*)
+powerpc-*-*bsd*)
+ gdb_target=ppc-eabi
+ ;;
+powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv* | powerpc-*-elf* )
if test x"$powerpc_sim" = x"yes"; then
gdb_target=ppc-sim
else