This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Allow for PowerPC 750
- From: Paul Gilliam <pgilliam at us dot ibm dot com>
- To: binutils at sourceware dot org
- Date: Mon, 5 Dec 2005 12:09:22 -0800
- Subject: [PATCH] Allow for PowerPC 750
- Reply-to: pgilliam at us dot ibm dot com
This patch allows gdb users to specify an architecture (on set
architecture) of powerpc:750. ?This will allow system level debugging of
applications on PowerPC 750 systems (meaning that the full set of system
registers and be displayed and/or modified). ?gdb already has the
definition of the PowerPC 750 system registers (in cpu-powerpc.c) -- this
patch simply allows users to specify that gdb should use this register set
when reading/modifying registers on the target system.
2005-12-05 ?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
? ?}
?};