This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] Re: dwarf2-frame.c read_reg problems, again ...
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: drow at false dot org (Daniel Jacobowitz)
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 31 Oct 2007 23:10:39 +0100 (CET)
- Subject: [patch] Re: dwarf2-frame.c read_reg problems, again ...
Daniel Jacobowitz wrote:
> On Wed, Oct 31, 2007 at 07:37:03PM +0100, Ulrich Weigand wrote:
> > So I don't mind making them unsigned again. How would that work
> > with the XML definitions? Do you have to add an explicit type
> > attribute everywhere?
>
> That's right. The default is "int", which is signed.
>
> When I was designing the format I thought up a pile of clever ways to
> make the format easier to write and more concise, like repeating
> register sets. Of course, they also make it harder to parse and
> more complicated to document. So I haven't implemented any of them
> :-)
OK, I've appended a patch below. This changes only the "core" registers,
I didn't think it was necessary to go through all the special registers
for the various chips ...
Does that look OK to you? It fixes about 35 FAILs when running the
32-bit testsuite on a 64-bit ppc GDB.
> > I'd say targets like that should be able to define a proper conversion to
> > builtin_type_void_data_ptr via convert_register or value_from_register
> > for that specific register.
> >
> > Alternatively, if builtin_type_void_data_ptr is in fact the wrong
> > type to describe a CFA on some weird platform, we could allow the
> > gdbarch to define the type to be used for this.
>
> That's an interesting idea...
>
> I don't have a helpful opinion about this particular case, I'm afraid.
> I just don't want to break whatever Michael was working with, or
> MIPS again (which requires sign extension here).
address_from_register will in the end go through pointer_to_address,
which should take care of the MIPS sign-extension issue.
Bye,
Ulrich
ChangeLog:
* features/rs6000/power-core.xml: Use uint32 as register type.
* features/rs6000/power64-core.xml: Use uint64/uint32 as register type.
* features/rs6000/powerpc-32.c: Regenerate.
* features/rs6000/powerpc-403.c: Regenerate.
* features/rs6000/powerpc-403gc.c: Regenerate.
* features/rs6000/powerpc-505.c: Regenerate.
* features/rs6000/powerpc-602.c: Regenerate.
* features/rs6000/powerpc-603.c: Regenerate.
* features/rs6000/powerpc-604.c: Regenerate.
* features/rs6000/powerpc-64.c: Regenerate.
* features/rs6000/powerpc-7400.c: Regenerate.
* features/rs6000/powerpc-750.c: Regenerate.
* features/rs6000/powerpc-860.c: Regenerate.
* features/rs6000/powerpc-e500.c: Regenerate.
Index: gdb/features/rs6000/power-core.xml
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/power-core.xml,v
retrieving revision 1.1
diff -c -p -r1.1 power-core.xml
*** gdb/features/rs6000/power-core.xml 15 Oct 2007 19:27:25 -0000 1.1
--- gdb/features/rs6000/power-core.xml 31 Oct 2007 22:01:25 -0000
***************
*** 7,49 ****
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.power.core">
! <reg name="r0" bitsize="32"/>
! <reg name="r1" bitsize="32"/>
! <reg name="r2" bitsize="32"/>
! <reg name="r3" bitsize="32"/>
! <reg name="r4" bitsize="32"/>
! <reg name="r5" bitsize="32"/>
! <reg name="r6" bitsize="32"/>
! <reg name="r7" bitsize="32"/>
! <reg name="r8" bitsize="32"/>
! <reg name="r9" bitsize="32"/>
! <reg name="r10" bitsize="32"/>
! <reg name="r11" bitsize="32"/>
! <reg name="r12" bitsize="32"/>
! <reg name="r13" bitsize="32"/>
! <reg name="r14" bitsize="32"/>
! <reg name="r15" bitsize="32"/>
! <reg name="r16" bitsize="32"/>
! <reg name="r17" bitsize="32"/>
! <reg name="r18" bitsize="32"/>
! <reg name="r19" bitsize="32"/>
! <reg name="r20" bitsize="32"/>
! <reg name="r21" bitsize="32"/>
! <reg name="r22" bitsize="32"/>
! <reg name="r23" bitsize="32"/>
! <reg name="r24" bitsize="32"/>
! <reg name="r25" bitsize="32"/>
! <reg name="r26" bitsize="32"/>
! <reg name="r27" bitsize="32"/>
! <reg name="r28" bitsize="32"/>
! <reg name="r29" bitsize="32"/>
! <reg name="r30" bitsize="32"/>
! <reg name="r31" bitsize="32"/>
! <reg name="pc" bitsize="32" regnum="64"/>
! <reg name="msr" bitsize="32"/>
! <reg name="cr" bitsize="32"/>
! <reg name="lr" bitsize="32"/>
! <reg name="ctr" bitsize="32"/>
! <reg name="xer" bitsize="32"/>
</feature>
--- 7,49 ----
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.power.core">
! <reg name="r0" bitsize="32" type="uint32"/>
! <reg name="r1" bitsize="32" type="uint32"/>
! <reg name="r2" bitsize="32" type="uint32"/>
! <reg name="r3" bitsize="32" type="uint32"/>
! <reg name="r4" bitsize="32" type="uint32"/>
! <reg name="r5" bitsize="32" type="uint32"/>
! <reg name="r6" bitsize="32" type="uint32"/>
! <reg name="r7" bitsize="32" type="uint32"/>
! <reg name="r8" bitsize="32" type="uint32"/>
! <reg name="r9" bitsize="32" type="uint32"/>
! <reg name="r10" bitsize="32" type="uint32"/>
! <reg name="r11" bitsize="32" type="uint32"/>
! <reg name="r12" bitsize="32" type="uint32"/>
! <reg name="r13" bitsize="32" type="uint32"/>
! <reg name="r14" bitsize="32" type="uint32"/>
! <reg name="r15" bitsize="32" type="uint32"/>
! <reg name="r16" bitsize="32" type="uint32"/>
! <reg name="r17" bitsize="32" type="uint32"/>
! <reg name="r18" bitsize="32" type="uint32"/>
! <reg name="r19" bitsize="32" type="uint32"/>
! <reg name="r20" bitsize="32" type="uint32"/>
! <reg name="r21" bitsize="32" type="uint32"/>
! <reg name="r22" bitsize="32" type="uint32"/>
! <reg name="r23" bitsize="32" type="uint32"/>
! <reg name="r24" bitsize="32" type="uint32"/>
! <reg name="r25" bitsize="32" type="uint32"/>
! <reg name="r26" bitsize="32" type="uint32"/>
! <reg name="r27" bitsize="32" type="uint32"/>
! <reg name="r28" bitsize="32" type="uint32"/>
! <reg name="r29" bitsize="32" type="uint32"/>
! <reg name="r30" bitsize="32" type="uint32"/>
! <reg name="r31" bitsize="32" type="uint32"/>
! <reg name="pc" bitsize="32" type="uint32" regnum="64"/>
! <reg name="msr" bitsize="32" type="uint32"/>
! <reg name="cr" bitsize="32" type="uint32"/>
! <reg name="lr" bitsize="32" type="uint32"/>
! <reg name="ctr" bitsize="32" type="uint32"/>
! <reg name="xer" bitsize="32" type="uint32"/>
</feature>
Index: gdb/features/rs6000/power64-core.xml
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/power64-core.xml,v
retrieving revision 1.1
diff -c -p -r1.1 power64-core.xml
*** gdb/features/rs6000/power64-core.xml 15 Oct 2007 19:27:25 -0000 1.1
--- gdb/features/rs6000/power64-core.xml 31 Oct 2007 22:01:25 -0000
***************
*** 7,49 ****
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.power.core">
! <reg name="r0" bitsize="64"/>
! <reg name="r1" bitsize="64"/>
! <reg name="r2" bitsize="64"/>
! <reg name="r3" bitsize="64"/>
! <reg name="r4" bitsize="64"/>
! <reg name="r5" bitsize="64"/>
! <reg name="r6" bitsize="64"/>
! <reg name="r7" bitsize="64"/>
! <reg name="r8" bitsize="64"/>
! <reg name="r9" bitsize="64"/>
! <reg name="r10" bitsize="64"/>
! <reg name="r11" bitsize="64"/>
! <reg name="r12" bitsize="64"/>
! <reg name="r13" bitsize="64"/>
! <reg name="r14" bitsize="64"/>
! <reg name="r15" bitsize="64"/>
! <reg name="r16" bitsize="64"/>
! <reg name="r17" bitsize="64"/>
! <reg name="r18" bitsize="64"/>
! <reg name="r19" bitsize="64"/>
! <reg name="r20" bitsize="64"/>
! <reg name="r21" bitsize="64"/>
! <reg name="r22" bitsize="64"/>
! <reg name="r23" bitsize="64"/>
! <reg name="r24" bitsize="64"/>
! <reg name="r25" bitsize="64"/>
! <reg name="r26" bitsize="64"/>
! <reg name="r27" bitsize="64"/>
! <reg name="r28" bitsize="64"/>
! <reg name="r29" bitsize="64"/>
! <reg name="r30" bitsize="64"/>
! <reg name="r31" bitsize="64"/>
! <reg name="pc" bitsize="64" regnum="64"/>
! <reg name="msr" bitsize="64"/>
! <reg name="cr" bitsize="32"/>
! <reg name="lr" bitsize="64"/>
! <reg name="ctr" bitsize="64"/>
! <reg name="xer" bitsize="32"/>
</feature>
--- 7,49 ----
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.power.core">
! <reg name="r0" bitsize="64" type="uint64"/>
! <reg name="r1" bitsize="64" type="uint64"/>
! <reg name="r2" bitsize="64" type="uint64"/>
! <reg name="r3" bitsize="64" type="uint64"/>
! <reg name="r4" bitsize="64" type="uint64"/>
! <reg name="r5" bitsize="64" type="uint64"/>
! <reg name="r6" bitsize="64" type="uint64"/>
! <reg name="r7" bitsize="64" type="uint64"/>
! <reg name="r8" bitsize="64" type="uint64"/>
! <reg name="r9" bitsize="64" type="uint64"/>
! <reg name="r10" bitsize="64" type="uint64"/>
! <reg name="r11" bitsize="64" type="uint64"/>
! <reg name="r12" bitsize="64" type="uint64"/>
! <reg name="r13" bitsize="64" type="uint64"/>
! <reg name="r14" bitsize="64" type="uint64"/>
! <reg name="r15" bitsize="64" type="uint64"/>
! <reg name="r16" bitsize="64" type="uint64"/>
! <reg name="r17" bitsize="64" type="uint64"/>
! <reg name="r18" bitsize="64" type="uint64"/>
! <reg name="r19" bitsize="64" type="uint64"/>
! <reg name="r20" bitsize="64" type="uint64"/>
! <reg name="r21" bitsize="64" type="uint64"/>
! <reg name="r22" bitsize="64" type="uint64"/>
! <reg name="r23" bitsize="64" type="uint64"/>
! <reg name="r24" bitsize="64" type="uint64"/>
! <reg name="r25" bitsize="64" type="uint64"/>
! <reg name="r26" bitsize="64" type="uint64"/>
! <reg name="r27" bitsize="64" type="uint64"/>
! <reg name="r28" bitsize="64" type="uint64"/>
! <reg name="r29" bitsize="64" type="uint64"/>
! <reg name="r30" bitsize="64" type="uint64"/>
! <reg name="r31" bitsize="64" type="uint64"/>
! <reg name="pc" bitsize="64" type="uint64" regnum="64"/>
! <reg name="msr" bitsize="64" type="uint64"/>
! <reg name="cr" bitsize="32" type="uint32"/>
! <reg name="lr" bitsize="64" type="uint64"/>
! <reg name="ctr" bitsize="64" type="uint64"/>
! <reg name="xer" bitsize="32" type="uint32"/>
</feature>
Index: gdb/features/rs6000/powerpc-32.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-32.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-32.c
*** gdb/features/rs6000/powerpc-32.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-32.c 31 Oct 2007 22:01:25 -0000
*************** initialize_tdesc_powerpc_32 (void)
*** 15,58 ****
set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common"));
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 15,58 ----
set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common"));
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-403.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-403.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-403.c
*** gdb/features/rs6000/powerpc-403.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-403.c 31 Oct 2007 22:01:25 -0000
*************** initialize_tdesc_powerpc_403 (void)
*** 13,56 ****
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 13,56 ----
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-403gc.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-403gc.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-403gc.c
*** gdb/features/rs6000/powerpc-403gc.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-403gc.c 31 Oct 2007 22:01:25 -0000
*************** initialize_tdesc_powerpc_403gc (void)
*** 13,56 ****
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 13,56 ----
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-505.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-505.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-505.c
*** gdb/features/rs6000/powerpc-505.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-505.c 31 Oct 2007 22:01:25 -0000
*************** initialize_tdesc_powerpc_505 (void)
*** 13,56 ****
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 13,56 ----
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-602.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-602.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-602.c
*** gdb/features/rs6000/powerpc-602.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-602.c 31 Oct 2007 22:01:25 -0000
*************** initialize_tdesc_powerpc_602 (void)
*** 13,56 ****
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 13,56 ----
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-603.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-603.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-603.c
*** gdb/features/rs6000/powerpc-603.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-603.c 31 Oct 2007 22:01:25 -0000
*************** initialize_tdesc_powerpc_603 (void)
*** 13,56 ****
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 13,56 ----
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-604.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-604.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-604.c
*** gdb/features/rs6000/powerpc-604.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-604.c 31 Oct 2007 22:01:25 -0000
*************** initialize_tdesc_powerpc_604 (void)
*** 13,56 ****
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 13,56 ----
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-64.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-64.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-64.c
*** gdb/features/rs6000/powerpc-64.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-64.c 31 Oct 2007 22:01:25 -0000
*************** initialize_tdesc_powerpc_64 (void)
*** 15,58 ****
set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common64"));
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 64, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 15,58 ----
set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common64"));
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 64, "uint64");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-7400.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-7400.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-7400.c
*** gdb/features/rs6000/powerpc-7400.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-7400.c 31 Oct 2007 22:01:25 -0000
*************** initialize_tdesc_powerpc_7400 (void)
*** 13,56 ****
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 13,56 ----
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-750.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-750.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-750.c
*** gdb/features/rs6000/powerpc-750.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-750.c 31 Oct 2007 22:01:26 -0000
*************** initialize_tdesc_powerpc_750 (void)
*** 13,56 ****
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 13,56 ----
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-860.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-860.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-860.c
*** gdb/features/rs6000/powerpc-860.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-860.c 31 Oct 2007 22:01:26 -0000
*************** initialize_tdesc_powerpc_860 (void)
*** 13,56 ****
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
--- 13,56 ----
struct type *field_type, *type;
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.fpu");
tdesc_create_reg (feature, "f0", 32, 1, NULL, 64, "ieee_double");
Index: gdb/features/rs6000/powerpc-e500.c
===================================================================
RCS file: /cvs/src/src/gdb/features/rs6000/powerpc-e500.c,v
retrieving revision 1.1
diff -c -p -r1.1 powerpc-e500.c
*** gdb/features/rs6000/powerpc-e500.c 15 Oct 2007 19:41:56 -0000 1.1
--- gdb/features/rs6000/powerpc-e500.c 31 Oct 2007 22:01:26 -0000
*************** initialize_tdesc_powerpc_e500 (void)
*** 15,58 ****
set_tdesc_architecture (result, bfd_scan_arch ("powerpc:e500"));
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "int");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.spe");
tdesc_create_reg (feature, "ev0h", 32, 1, NULL, 32, "int");
--- 15,58 ----
set_tdesc_architecture (result, bfd_scan_arch ("powerpc:e500"));
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
! tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r16", 16, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r17", 17, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r18", 18, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r19", 19, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r20", 20, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r21", 21, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r22", 22, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r24", 24, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r25", 25, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r26", 26, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r27", 27, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r28", 28, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "ctr", 68, 1, NULL, 32, "uint32");
! tdesc_create_reg (feature, "xer", 69, 1, NULL, 32, "uint32");
feature = tdesc_create_feature (result, "org.gnu.gdb.power.spe");
tdesc_create_reg (feature, "ev0h", 32, 1, NULL, 32, "int");
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com