summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gdb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-11-14 01:52:19 +0000
committerimp <imp@FreeBSD.org>2010-11-14 01:52:19 +0000
commiteceb0894df4b5ee43f0aa784d5f3a32dd59edde3 (patch)
tree2a68507e1c134a50ae03ab51019b1c3ee08c3c6e /gnu/usr.bin/gdb
parent57c659fc8f4427dd8165ce9aa5a37ce4cb41e583 (diff)
downloadFreeBSD-src-eceb0894df4b5ee43f0aa784d5f3a32dd59edde3.zip
FreeBSD-src-eceb0894df4b5ee43f0aa784d5f3a32dd59edde3.tar.gz
We need to add powerpc64->powerpc translations (I knew I hated copying
this code in the first place). Also MACHINE_ARCH powerpc is 32-bit, not MACHINE_CPUARCH == powerpc. Submitted by: nathanw
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r--gnu/usr.bin/gdb/Makefile.inc2
-rw-r--r--gnu/usr.bin/gdb/libgdb/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/Makefile.inc b/gnu/usr.bin/gdb/Makefile.inc
index 18dac98..d49d9bb 100644
--- a/gnu/usr.bin/gdb/Makefile.inc
+++ b/gnu/usr.bin/gdb/Makefile.inc
@@ -20,7 +20,7 @@ OBJ_GDB= ${OBJ_ROOT}/gdb
# MACHINE_CPUARCH, but there's no easy way to export make functions...
.if defined(TARGET_ARCH)
-TARGET_CPUARCH=${TARGET_ARCH:C/mipse[bl]/mips/:C/armeb/arm/}
+TARGET_CPUARCH=${TARGET_ARCH:C/mipse[bl]/mips/:C/armeb/arm/:C/powerpc64/powerpc}
.else
TARGET_CPUARCH=${MACHINE_CPUARCH}
.endif
diff --git a/gnu/usr.bin/gdb/libgdb/Makefile b/gnu/usr.bin/gdb/libgdb/Makefile
index bb18a8e..ec02a54 100644
--- a/gnu/usr.bin/gdb/libgdb/Makefile
+++ b/gnu/usr.bin/gdb/libgdb/Makefile
@@ -4,7 +4,7 @@
# MACHINE_CPUARCH, but there's no easy way to export make functions...
.if defined(TARGET_ARCH)
-TARGET_CPUARCH=${TARGET_ARCH:C/mipse[bl]/mips/:C/armeb/arm/}
+TARGET_CPUARCH=${TARGET_ARCH:C/mipse[bl]/mips/:C/armeb/arm/:C/powerpc64/powerpc}
.else
TARGET_CPUARCH=${MACHINE_CPUARCH}
.endif
OpenPOWER on IntegriCloud