Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Paul Gilliam <pgilliam@us.ibm.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] add PowerPC 750 to list of BFD supported PowerPC architectures
Date: Mon, 17 Oct 2005 20:53:00 -0000	[thread overview]
Message-ID: <200510171354.18895.pgilliam@us.ibm.com> (raw)

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


             reply	other threads:[~2005-10-17 20:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17 20:53 Paul Gilliam [this message]
2005-10-17 21:03 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510171354.18895.pgilliam@us.ibm.com \
    --to=pgilliam@us.ibm.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox