This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] add PowerPC 750 to list of BFD supported PowerPC architectures


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
   }
 };


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]