aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-07-10 02:29:22 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-07-10 02:29:22 +0000
commit2cf64c8006d7b7c6b122b7a492086a8cefe0f4d4 (patch)
tree9f6c3a9c7f6dc298b58f5ddb2655b080c986678d /gnu/usr.bin/binutils/gdb
parentb543e91ba5678e60f8a6b612d473365c8fa83648 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/binutils/gdb')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile2
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile.powerpc645
2 files changed, 7 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index ecf8cce33ed9..6e52616ad309 100644
--- a/gnu/usr.bin/binutils/gdb/Makefile
+++ b/gnu/usr.bin/binutils/gdb/Makefile
@@ -12,6 +12,8 @@ GDBDIR= ${.CURDIR}/../../../../contrib/gdb
GDB_CPU= sparc
.elif ${TARGET_ARCH} == "amd64"
GDB_CPU= i386
+.elif ${TARGET_ARCH} == "powerpc64"
+GDB_CPU= powerpc
.else
GDB_CPU= ${TARGET_ARCH}
.endif
diff --git a/gnu/usr.bin/binutils/gdb/Makefile.powerpc64 b/gnu/usr.bin/binutils/gdb/Makefile.powerpc64
new file mode 100644
index 000000000000..4cea11345a12
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/Makefile.powerpc64
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+XSRCS+= ppcnbsd-nat.c ppc-tdep.c \
+ core-regset.c
+CFLAGS+= -DDEFAULT_BFD_VEC=bfd_elf64_powerpc_vec