This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] add PowerPC 750 to list of BFD supported PowerPC architectures
- From: Paul Gilliam <pgilliam at us dot ibm dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 17 Oct 2005 13:54:18 -0700
- Subject: [PATCH] add PowerPC 750 to list of BFD supported PowerPC architectures
- Reply-to: pgilliam at us dot ibm dot com
This patch allows GDB to work with a PowerPC 750 chip. GDB already has what it needs, but BFD needs to know about it.
Should I also submit this patch to bug-binutils@gnu.org?
2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
* bfd/cpu-powerpc.c: add ppc 750 to list of supported PowerPC chips.
diff -r -u gdb-6.3/bfd/cpu-powerpc.c myown_gdb-6.3/bfd/cpu-powerpc.c
--- gdb-6.3/bfd/cpu-powerpc.c 2003-11-20 12:42:21.000000000 -0600
+++ myown_gdb-6.3/bfd/cpu-powerpc.c 2005-10-14 11:46:32.436415625 -0500
@@ -295,6 +295,20 @@
FALSE, /* not the default */
powerpc_compatible,
bfd_default_scan,
+ &bfd_powerpc_archs[15]
+ },
+ {
+ 32, /* 32 bits in a word */
+ 32, /* 32 bits in an address */
+ 8, /* 8 bits in a byte */
+ bfd_arch_powerpc,
+ bfd_mach_ppc_750,
+ "powerpc",
+ "powerpc:750",
+ 3,
+ FALSE, /* not the default */
+ powerpc_compatible,
+ bfd_default_scan,
0
}
};