Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] add PowerPC 750 to list of BFD supported PowerPC architectures
@ 2005-10-17 20:53 Paul Gilliam
  2005-10-17 21:03 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Gilliam @ 2005-10-17 20:53 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-17 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-17 20:53 [PATCH] add PowerPC 750 to list of BFD supported PowerPC architectures Paul Gilliam
2005-10-17 21:03 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox