This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 1/5] config support for powerpc64-aix
- From: Raunaq 12 <raunaq12 at in dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Cc: tromey at redhat dot com, Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Date: Wed, 24 Jul 2013 18:02:33 +0530
- Subject: [PATCH 1/5] config support for powerpc64-aix
powerpc64: Add support for host and target powerpc64.
Add new case to configure.host and configure.tgt to support powerpc64
running aix
---
ChangeLog-
* configure.tgt (powerpc64-*-aix*): Match powerpc64 running
aix.
* configure.host (powerpc64-*-aix*): Likewise.
---
Index: ./gdb/configure.host
===================================================================
--- ./gdb.orig/configure.host
+++ ./gdb/configure.host
@@ -126,7 +126,7 @@
gdb_host=nbsd ;;
mips64*-*-openbsd*) gdb_host=obsd64 ;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
gdb_host=aix ;;
powerpc*-*-freebsd*) gdb_host=fbsd ;;
powerpc-*-linux*) gdb_host=linux ;;
Index: gdb-7.6.50.20130612/gdb/configure.tgt
===================================================================
--- gdb-7.6.50.20130612.orig/gdb/configure.tgt 2013-07-24
14:47:19.000000000 +0600
+++ gdb-7.6.50.20130612/gdb/configure.tgt 2013-07-24
15:20:13.000000000 +0600
@@ -427,7 +427,7 @@
solib-svr4.o \
ravenscar-thread.o ppc-ravenscar-thread.o"
;;
-powerpc-*-aix* | rs6000-*-*)
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
# Target: PowerPC running AIX
gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
ppc-sysv-tdep.o solib-aix.o \
@@ -714,6 +714,8 @@
*-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
*-*-symbianelf*)
gdb_osabi=GDB_OSABI_SYMBIAN ;;
+powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
+ gdb_osabi=GDB_OSABI_AIX ;;
esac
# Check whether this target supports gcore.
---