diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-10-15 19:27:25 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-10-15 19:27:25 +0000 |
commit | 8dc35b87076f7ffa5370932e054f0336aa01f122 (patch) | |
tree | 0fc5ce0e68c5b49f7ddeaefc7083975690930041 /gdb | |
parent | 81adfcedc899da6e7641d2c2d6aad68f60d97735 (diff) | |
download | gdb-8dc35b87076f7ffa5370932e054f0336aa01f122.zip gdb-8dc35b87076f7ffa5370932e054f0336aa01f122.tar.gz gdb-8dc35b87076f7ffa5370932e054f0336aa01f122.tar.bz2 |
* features/rs6000/power-altivec.xml, features/rs6000/power-core.xml,
features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml,
features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New
feature descriptions for standard PowerPC register sets.
* features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml,
features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml,
features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml,
features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml,
features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml,
features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml,
features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New
target descriptions for PowerPC processors.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 16 | ||||
-rw-r--r-- | gdb/features/rs6000/power-altivec.xml | 57 | ||||
-rw-r--r-- | gdb/features/rs6000/power-core.xml | 49 | ||||
-rw-r--r-- | gdb/features/rs6000/power-fpu.xml | 44 | ||||
-rw-r--r-- | gdb/features/rs6000/power-oea.xml | 62 | ||||
-rw-r--r-- | gdb/features/rs6000/power-spe.xml | 45 | ||||
-rw-r--r-- | gdb/features/rs6000/power64-core.xml | 49 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-32.xml | 17 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-403.xml | 40 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-403gc.xml | 46 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-505.xml | 19 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-601.xml | 69 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-602.xml | 26 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-603.xml | 28 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-604.xml | 28 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-64.xml | 17 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-7400.xml | 14 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-750.xml | 41 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-860.xml | 65 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-e500.xml | 13 | ||||
-rw-r--r-- | gdb/features/rs6000/rs6000.xml | 99 |
21 files changed, 844 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a221863..96faf93 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,21 @@ 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> + * features/rs6000/power-altivec.xml, features/rs6000/power-core.xml, + features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml, + features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New + feature descriptions for standard PowerPC register sets. + + * features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml, + features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml, + features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml, + features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml, + features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml, + features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml, + features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New + target descriptions for PowerPC processors. + +2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> + * target-descriptions.c (tdesc_predefined_types): New. (tdesc_named_type): Use it. (tdesc_type_id, maint_print_c_tdesc_cmd): New functions. diff --git a/gdb/features/rs6000/power-altivec.xml b/gdb/features/rs6000/power-altivec.xml new file mode 100644 index 0000000..cd326a7 --- /dev/null +++ b/gdb/features/rs6000/power-altivec.xml @@ -0,0 +1,57 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-target.dtd"> +<feature name="org.gnu.gdb.power.altivec"> + <vector id="v4f" type="ieee_single" count="4"/> + <vector id="v4i32" type="int32" count="4"/> + <vector id="v8i16" type="int16" count="8"/> + <vector id="v16i8" type="int8" count="16"/> + <union id="vec128"> + <field name="uint128" type="uint128"/> + <field name="v4_float" type="v4f"/> + <field name="v4_int32" type="v4i32"/> + <field name="v8_int16" type="v8i16"/> + <field name="v16_int8" type="v16i8"/> + </union> + + <reg name="vr0" bitsize="128" type="vec128"/> + <reg name="vr1" bitsize="128" type="vec128"/> + <reg name="vr2" bitsize="128" type="vec128"/> + <reg name="vr3" bitsize="128" type="vec128"/> + <reg name="vr4" bitsize="128" type="vec128"/> + <reg name="vr5" bitsize="128" type="vec128"/> + <reg name="vr6" bitsize="128" type="vec128"/> + <reg name="vr7" bitsize="128" type="vec128"/> + <reg name="vr8" bitsize="128" type="vec128"/> + <reg name="vr9" bitsize="128" type="vec128"/> + <reg name="vr10" bitsize="128" type="vec128"/> + <reg name="vr11" bitsize="128" type="vec128"/> + <reg name="vr12" bitsize="128" type="vec128"/> + <reg name="vr13" bitsize="128" type="vec128"/> + <reg name="vr14" bitsize="128" type="vec128"/> + <reg name="vr15" bitsize="128" type="vec128"/> + <reg name="vr16" bitsize="128" type="vec128"/> + <reg name="vr17" bitsize="128" type="vec128"/> + <reg name="vr18" bitsize="128" type="vec128"/> + <reg name="vr19" bitsize="128" type="vec128"/> + <reg name="vr20" bitsize="128" type="vec128"/> + <reg name="vr21" bitsize="128" type="vec128"/> + <reg name="vr22" bitsize="128" type="vec128"/> + <reg name="vr23" bitsize="128" type="vec128"/> + <reg name="vr24" bitsize="128" type="vec128"/> + <reg name="vr25" bitsize="128" type="vec128"/> + <reg name="vr26" bitsize="128" type="vec128"/> + <reg name="vr27" bitsize="128" type="vec128"/> + <reg name="vr28" bitsize="128" type="vec128"/> + <reg name="vr29" bitsize="128" type="vec128"/> + <reg name="vr30" bitsize="128" type="vec128"/> + <reg name="vr31" bitsize="128" type="vec128"/> + + <reg name="vscr" bitsize="32" group="vector"/> + <reg name="vrsave" bitsize="32" group="vector"/> +</feature> diff --git a/gdb/features/rs6000/power-core.xml b/gdb/features/rs6000/power-core.xml new file mode 100644 index 0000000..d05afad --- /dev/null +++ b/gdb/features/rs6000/power-core.xml @@ -0,0 +1,49 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!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> diff --git a/gdb/features/rs6000/power-fpu.xml b/gdb/features/rs6000/power-fpu.xml new file mode 100644 index 0000000..4605173 --- /dev/null +++ b/gdb/features/rs6000/power-fpu.xml @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-target.dtd"> +<feature name="org.gnu.gdb.power.fpu"> + <reg name="f0" bitsize="64" type="ieee_double" regnum="32"/> + <reg name="f1" bitsize="64" type="ieee_double"/> + <reg name="f2" bitsize="64" type="ieee_double"/> + <reg name="f3" bitsize="64" type="ieee_double"/> + <reg name="f4" bitsize="64" type="ieee_double"/> + <reg name="f5" bitsize="64" type="ieee_double"/> + <reg name="f6" bitsize="64" type="ieee_double"/> + <reg name="f7" bitsize="64" type="ieee_double"/> + <reg name="f8" bitsize="64" type="ieee_double"/> + <reg name="f9" bitsize="64" type="ieee_double"/> + <reg name="f10" bitsize="64" type="ieee_double"/> + <reg name="f11" bitsize="64" type="ieee_double"/> + <reg name="f12" bitsize="64" type="ieee_double"/> + <reg name="f13" bitsize="64" type="ieee_double"/> + <reg name="f14" bitsize="64" type="ieee_double"/> + <reg name="f15" bitsize="64" type="ieee_double"/> + <reg name="f16" bitsize="64" type="ieee_double"/> + <reg name="f17" bitsize="64" type="ieee_double"/> + <reg name="f18" bitsize="64" type="ieee_double"/> + <reg name="f19" bitsize="64" type="ieee_double"/> + <reg name="f20" bitsize="64" type="ieee_double"/> + <reg name="f21" bitsize="64" type="ieee_double"/> + <reg name="f22" bitsize="64" type="ieee_double"/> + <reg name="f23" bitsize="64" type="ieee_double"/> + <reg name="f24" bitsize="64" type="ieee_double"/> + <reg name="f25" bitsize="64" type="ieee_double"/> + <reg name="f26" bitsize="64" type="ieee_double"/> + <reg name="f27" bitsize="64" type="ieee_double"/> + <reg name="f28" bitsize="64" type="ieee_double"/> + <reg name="f29" bitsize="64" type="ieee_double"/> + <reg name="f30" bitsize="64" type="ieee_double"/> + <reg name="f31" bitsize="64" type="ieee_double"/> + + <reg name="fpscr" bitsize="32" group="float" regnum="70"/> +</feature> diff --git a/gdb/features/rs6000/power-oea.xml b/gdb/features/rs6000/power-oea.xml new file mode 100644 index 0000000..851fea3 --- /dev/null +++ b/gdb/features/rs6000/power-oea.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- The registers (some of them, anyway) defined by the + Operating Environment Architecture. --> + +<!DOCTYPE feature SYSTEM "gdb-target.dtd"> +<feature name="OEA"> + <reg name="sr0" bitsize="32" regnum="71"/> + <reg name="sr1" bitsize="32"/> + <reg name="sr2" bitsize="32"/> + <reg name="sr3" bitsize="32"/> + <reg name="sr4" bitsize="32"/> + <reg name="sr5" bitsize="32"/> + <reg name="sr6" bitsize="32"/> + <reg name="sr7" bitsize="32"/> + <reg name="sr8" bitsize="32"/> + <reg name="sr9" bitsize="32"/> + <reg name="sr10" bitsize="32"/> + <reg name="sr11" bitsize="32"/> + <reg name="sr12" bitsize="32"/> + <reg name="sr13" bitsize="32"/> + <reg name="sr14" bitsize="32"/> + <reg name="sr15" bitsize="32"/> + + <reg name="pvr" bitsize="32"/> + <reg name="ibat0u" bitsize="32"/> + <reg name="ibat0l" bitsize="32"/> + <reg name="ibat1u" bitsize="32"/> + <reg name="ibat1l" bitsize="32"/> + <reg name="ibat2u" bitsize="32"/> + <reg name="ibat2l" bitsize="32"/> + <reg name="ibat3u" bitsize="32"/> + <reg name="ibat3l" bitsize="32"/> + <reg name="dbat0u" bitsize="32"/> + <reg name="dbat0l" bitsize="32"/> + <reg name="dbat1u" bitsize="32"/> + <reg name="dbat1l" bitsize="32"/> + <reg name="dbat2u" bitsize="32"/> + <reg name="dbat2l" bitsize="32"/> + <reg name="dbat3u" bitsize="32"/> + <reg name="dbat3l" bitsize="32"/> + <reg name="sdr1" bitsize="32"/> + <reg name="asr" bitsize="64"/> + <reg name="dar" bitsize="32"/> + <reg name="dsisr" bitsize="32"/> + <reg name="sprg0" bitsize="32"/> + <reg name="sprg1" bitsize="32"/> + <reg name="sprg2" bitsize="32"/> + <reg name="sprg3" bitsize="32"/> + <reg name="srr0" bitsize="32"/> + <reg name="srr1" bitsize="32"/> + <reg name="tbl" bitsize="32"/> + <reg name="tbu" bitsize="32"/> + <reg name="dec" bitsize="32"/> + <reg name="dabr" bitsize="32"/> + <reg name="ear" bitsize="32"/> +</feature> diff --git a/gdb/features/rs6000/power-spe.xml b/gdb/features/rs6000/power-spe.xml new file mode 100644 index 0000000..7372681 --- /dev/null +++ b/gdb/features/rs6000/power-spe.xml @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-target.dtd"> +<feature name="org.gnu.gdb.power.spe"> + <reg name="ev0h" bitsize="32" regnum="32"/> + <reg name="ev1h" bitsize="32"/> + <reg name="ev2h" bitsize="32"/> + <reg name="ev3h" bitsize="32"/> + <reg name="ev4h" bitsize="32"/> + <reg name="ev5h" bitsize="32"/> + <reg name="ev6h" bitsize="32"/> + <reg name="ev7h" bitsize="32"/> + <reg name="ev8h" bitsize="32"/> + <reg name="ev9h" bitsize="32"/> + <reg name="ev10h" bitsize="32"/> + <reg name="ev11h" bitsize="32"/> + <reg name="ev12h" bitsize="32"/> + <reg name="ev13h" bitsize="32"/> + <reg name="ev14h" bitsize="32"/> + <reg name="ev15h" bitsize="32"/> + <reg name="ev16h" bitsize="32"/> + <reg name="ev17h" bitsize="32"/> + <reg name="ev18h" bitsize="32"/> + <reg name="ev19h" bitsize="32"/> + <reg name="ev20h" bitsize="32"/> + <reg name="ev21h" bitsize="32"/> + <reg name="ev22h" bitsize="32"/> + <reg name="ev23h" bitsize="32"/> + <reg name="ev24h" bitsize="32"/> + <reg name="ev25h" bitsize="32"/> + <reg name="ev26h" bitsize="32"/> + <reg name="ev27h" bitsize="32"/> + <reg name="ev28h" bitsize="32"/> + <reg name="ev29h" bitsize="32"/> + <reg name="ev30h" bitsize="32"/> + <reg name="ev31h" bitsize="32"/> + + <reg name="acc" bitsize="64" regnum="71"/> + <reg name="spefscr" bitsize="32"/> +</feature> diff --git a/gdb/features/rs6000/power64-core.xml b/gdb/features/rs6000/power64-core.xml new file mode 100644 index 0000000..a37dfbf --- /dev/null +++ b/gdb/features/rs6000/power64-core.xml @@ -0,0 +1,49 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!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> diff --git a/gdb/features/rs6000/powerpc-32.xml b/gdb/features/rs6000/powerpc-32.xml new file mode 100644 index 0000000..5388ce6 --- /dev/null +++ b/gdb/features/rs6000/powerpc-32.xml @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- PowerPC UISA - a PPC processor as viewed by user-level code. A UISA-only + view of the PowerPC. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <architecture>powerpc:common</architecture> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-altivec.xml"/> +</target> diff --git a/gdb/features/rs6000/powerpc-403.xml b/gdb/features/rs6000/powerpc-403.xml new file mode 100644 index 0000000..8d4d237 --- /dev/null +++ b/gdb/features/rs6000/powerpc-403.xml @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + + <feature name="403"> + <reg name="icdbdr" bitsize="32"/> + <reg name="esr" bitsize="32"/> + <reg name="dear" bitsize="32"/> + <reg name="evpr" bitsize="32"/> + <reg name="cdbcr" bitsize="32"/> + <reg name="tsr" bitsize="32"/> + <reg name="tcr" bitsize="32"/> + <reg name="pit" bitsize="32"/> + <reg name="tbhi" bitsize="32"/> + <reg name="tblo" bitsize="32"/> + <reg name="srr2" bitsize="32"/> + <reg name="srr3" bitsize="32"/> + <reg name="dbsr" bitsize="32"/> + <reg name="dbcr" bitsize="32"/> + <reg name="iac1" bitsize="32"/> + <reg name="iac2" bitsize="32"/> + <reg name="dac1" bitsize="32"/> + <reg name="dac2" bitsize="32"/> + <reg name="dccr" bitsize="32"/> + <reg name="iccr" bitsize="32"/> + <reg name="pbl1" bitsize="32"/> + <reg name="pbu1" bitsize="32"/> + <reg name="pbl2" bitsize="32"/> + <reg name="pbu2" bitsize="32"/> + </feature> +</target> diff --git a/gdb/features/rs6000/powerpc-403gc.xml b/gdb/features/rs6000/powerpc-403gc.xml new file mode 100644 index 0000000..67000b7 --- /dev/null +++ b/gdb/features/rs6000/powerpc-403gc.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + + <feature name="403GC"> + <reg name="icdbdr" bitsize="32"/> + <reg name="esr" bitsize="32"/> + <reg name="dear" bitsize="32"/> + <reg name="evpr" bitsize="32"/> + <reg name="cdbcr" bitsize="32"/> + <reg name="tsr" bitsize="32"/> + <reg name="tcr" bitsize="32"/> + <reg name="pit" bitsize="32"/> + <reg name="tbhi" bitsize="32"/> + <reg name="tblo" bitsize="32"/> + <reg name="srr2" bitsize="32"/> + <reg name="srr3" bitsize="32"/> + <reg name="dbsr" bitsize="32"/> + <reg name="dbcr" bitsize="32"/> + <reg name="iac1" bitsize="32"/> + <reg name="iac2" bitsize="32"/> + <reg name="dac1" bitsize="32"/> + <reg name="dac2" bitsize="32"/> + <reg name="dccr" bitsize="32"/> + <reg name="iccr" bitsize="32"/> + <reg name="pbl1" bitsize="32"/> + <reg name="pbu1" bitsize="32"/> + <reg name="pbl2" bitsize="32"/> + <reg name="pbu2" bitsize="32"/> + <reg name="zpr" bitsize="32"/> + <reg name="pid" bitsize="32"/> + <reg name="sgr" bitsize="32"/> + <reg name="dcwr" bitsize="32"/> + <reg name="tbhu" bitsize="32"/> + <reg name="tblu" bitsize="32"/> + </feature> +</target> diff --git a/gdb/features/rs6000/powerpc-505.xml b/gdb/features/rs6000/powerpc-505.xml new file mode 100644 index 0000000..5e4a42d --- /dev/null +++ b/gdb/features/rs6000/powerpc-505.xml @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + + <feature name="505"> + <reg name="eie" bitsize="32"/> + <reg name="eid" bitsize="32"/> + <reg name="nri" bitsize="32"/> + </feature> +</target> diff --git a/gdb/features/rs6000/powerpc-601.xml b/gdb/features/rs6000/powerpc-601.xml new file mode 100644 index 0000000..2fb2845 --- /dev/null +++ b/gdb/features/rs6000/powerpc-601.xml @@ -0,0 +1,69 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- IBM POWER (pre-PowerPC) architecture, user-level view. We only cover + user-level SPR's. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <!-- This description is slightly different from the standard + org.gnu.gdb.power.core, to accomodate mq. --> + <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"/> + <reg name="mq" bitsize="32" regnum="124"/> + </feature> + + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + + <feature name="601"> + <reg name="hid0" bitsize="32"/> + <reg name="hid1" bitsize="32"/> + <reg name="iabr" bitsize="32"/> + <reg name="pir" bitsize="32" regnum="123"/> + <reg name="rtcu" bitsize="32" regnum="125"/> + <reg name="rtcl" bitsize="32"/> + </feature> +</target> diff --git a/gdb/features/rs6000/powerpc-602.xml b/gdb/features/rs6000/powerpc-602.xml new file mode 100644 index 0000000..50ff572 --- /dev/null +++ b/gdb/features/rs6000/powerpc-602.xml @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + + <feature name="602"> + <reg name="hid0" bitsize="32"/> + <reg name="hid1" bitsize="32"/> + <reg name="iabr" bitsize="32"/> + <reg name="tcr" bitsize="32" regnum="124"/> + <reg name="ibr" bitsize="32"/> + <reg name="esasrr" bitsize="32"/> + <reg name="sebr" bitsize="32"/> + <reg name="ser" bitsize="32"/> + <reg name="sp" bitsize="32"/> + <reg name="lt" bitsize="32"/> + </feature> +</target> diff --git a/gdb/features/rs6000/powerpc-603.xml b/gdb/features/rs6000/powerpc-603.xml new file mode 100644 index 0000000..b244008 --- /dev/null +++ b/gdb/features/rs6000/powerpc-603.xml @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- PowerPC 603 or 603e. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + + <feature name="603"> + <reg name="hid0" bitsize="32"/> + <reg name="hid1" bitsize="32"/> + <reg name="iabr" bitsize="32"/> + <reg name="dmiss" bitsize="32" regnum="124"/> + <reg name="dcmp" bitsize="32"/> + <reg name="hash1" bitsize="32"/> + <reg name="hash2" bitsize="32"/> + <reg name="imiss" bitsize="32"/> + <reg name="icmp" bitsize="32"/> + <reg name="rpa" bitsize="32"/> + </feature> +</target> diff --git a/gdb/features/rs6000/powerpc-604.xml b/gdb/features/rs6000/powerpc-604.xml new file mode 100644 index 0000000..ca2ada4 --- /dev/null +++ b/gdb/features/rs6000/powerpc-604.xml @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- PowerPC 604 or 604e. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + + <feature name="604"> + <reg name="hid0" bitsize="32"/> + <reg name="hid1" bitsize="32"/> + <reg name="iabr" bitsize="32"/> + <reg name="dabr" bitsize="32"/> + <reg name="pir" bitsize="32"/> + <reg name="mmcr0" bitsize="32"/> + <reg name="pmc1" bitsize="32"/> + <reg name="pmc2" bitsize="32"/> + <reg name="sia" bitsize="32"/> + <reg name="sda" bitsize="32"/> + </feature> +</target> diff --git a/gdb/features/rs6000/powerpc-64.xml b/gdb/features/rs6000/powerpc-64.xml new file mode 100644 index 0000000..994807a --- /dev/null +++ b/gdb/features/rs6000/powerpc-64.xml @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- PowerPC UISA - a PPC processor as viewed by user-level code. A UISA-only + view of the PowerPC. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <architecture>powerpc:common64</architecture> + <xi:include href="power64-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-altivec.xml"/> +</target> diff --git a/gdb/features/rs6000/powerpc-7400.xml b/gdb/features/rs6000/powerpc-7400.xml new file mode 100644 index 0000000..a3c37a7 --- /dev/null +++ b/gdb/features/rs6000/powerpc-7400.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + <xi:include href="power-altivec.xml"/> +</target> diff --git a/gdb/features/rs6000/powerpc-750.xml b/gdb/features/rs6000/powerpc-750.xml new file mode 100644 index 0000000..3b82aa4 --- /dev/null +++ b/gdb/features/rs6000/powerpc-750.xml @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- PowerPC 750 or 740. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + + <feature name="750"> + <reg name="hid0" bitsize="32"/> + <reg name="hid1" bitsize="32"/> + <reg name="iabr" bitsize="32"/> + <reg name="dabr" bitsize="32"/> + <reg name="ummcr0" bitsize="32" regnum="124"/> + <reg name="upmc1" bitsize="32"/> + <reg name="upmc2" bitsize="32"/> + <reg name="usia" bitsize="32"/> + <reg name="ummcr1" bitsize="32"/> + <reg name="upmc3" bitsize="32"/> + <reg name="upmc4" bitsize="32"/> + <reg name="mmcr0" bitsize="32"/> + <reg name="pmc1" bitsize="32"/> + <reg name="pmc2" bitsize="32"/> + <reg name="sia" bitsize="32"/> + <reg name="mmcr1" bitsize="32"/> + <reg name="pmc3" bitsize="32"/> + <reg name="pmc4" bitsize="32"/> + <reg name="l2cr" bitsize="32"/> + <reg name="ictc" bitsize="32"/> + <reg name="thrm1" bitsize="32"/> + <reg name="thrm2" bitsize="32"/> + <reg name="thrm3" bitsize="32"/> + </feature> +</target> diff --git a/gdb/features/rs6000/powerpc-860.xml b/gdb/features/rs6000/powerpc-860.xml new file mode 100644 index 0000000..4370607 --- /dev/null +++ b/gdb/features/rs6000/powerpc-860.xml @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- PowerPC 860 or 850. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <xi:include href="power-core.xml"/> + <xi:include href="power-fpu.xml"/> + <xi:include href="power-oea.xml"/> + + <feature name="860"> + <reg name="eie" bitsize="32"/> + <reg name="eid" bitsize="32"/> + <reg name="nri" bitsize="32"/> + <reg name="cmpa" bitsize="32"/> + <reg name="cmpb" bitsize="32"/> + <reg name="cmpc" bitsize="32"/> + <reg name="cmpd" bitsize="32"/> + <reg name="icr" bitsize="32"/> + <reg name="der" bitsize="32"/> + <reg name="counta" bitsize="32"/> + <reg name="countb" bitsize="32"/> + <reg name="cmpe" bitsize="32"/> + <reg name="cmpf" bitsize="32"/> + <reg name="cmpg" bitsize="32"/> + <reg name="cmph" bitsize="32"/> + <reg name="lctrl1" bitsize="32"/> + <reg name="lctrl2" bitsize="32"/> + <reg name="ictrl" bitsize="32"/> + <reg name="bar" bitsize="32"/> + <reg name="ic_cst" bitsize="32"/> + <reg name="ic_adr" bitsize="32"/> + <reg name="ic_dat" bitsize="32"/> + <reg name="dc_cst" bitsize="32"/> + <reg name="dc_adr" bitsize="32"/> + <reg name="dc_dat" bitsize="32"/> + <reg name="dpdr" bitsize="32"/> + <reg name="dpir" bitsize="32"/> + <reg name="immr" bitsize="32"/> + <reg name="mi_ctr" bitsize="32"/> + <reg name="mi_ap" bitsize="32"/> + <reg name="mi_epn" bitsize="32"/> + <reg name="mi_twc" bitsize="32"/> + <reg name="mi_rpn" bitsize="32"/> + <reg name="md_ctr" bitsize="32"/> + <reg name="m_casid" bitsize="32"/> + <reg name="md_ap" bitsize="32"/> + <reg name="md_epn" bitsize="32"/> + <reg name="m_twb" bitsize="32"/> + <reg name="md_twc" bitsize="32"/> + <reg name="md_rpn" bitsize="32"/> + <reg name="m_tw" bitsize="32"/> + <reg name="mi_dbcam" bitsize="32"/> + <reg name="mi_dbram0" bitsize="32"/> + <reg name="mi_dbram1" bitsize="32"/> + <reg name="md_dbcam" bitsize="32"/> + <reg name="md_dbram0" bitsize="32"/> + <reg name="md_dbram1" bitsize="32"/> + </feature> +</target> diff --git a/gdb/features/rs6000/powerpc-e500.xml b/gdb/features/rs6000/powerpc-e500.xml new file mode 100644 index 0000000..87b395e --- /dev/null +++ b/gdb/features/rs6000/powerpc-e500.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <architecture>powerpc:e500</architecture> + <xi:include href="power-core.xml"/> + <xi:include href="power-spe.xml"/> +</target> diff --git a/gdb/features/rs6000/rs6000.xml b/gdb/features/rs6000/rs6000.xml new file mode 100644 index 0000000..68a7e27 --- /dev/null +++ b/gdb/features/rs6000/rs6000.xml @@ -0,0 +1,99 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2007 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- IBM POWER (pre-PowerPC) architecture, user-level view. We only cover + user-level SPR's. --> + +<!DOCTYPE target SYSTEM "gdb-target.dtd"> +<target> + <architecture>rs6000:6000</architecture> + + <!-- This description is slightly different from the standard + org.gnu.gdb.power.core, to accomodate mq, cnd, and cnt. --> + <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="cnd" bitsize="32"/> + <reg name="lr" bitsize="32"/> + <reg name="cnt" bitsize="32"/> + <reg name="xer" bitsize="32"/> + <reg name="mq" bitsize="32"/> + </feature> + + <!-- This description is slightly different from the standard + org.gnu.gdb.power.core, to accomodate historical numbering + for fpscr. --> + <feature name="org.gnu.gdb.power.fpu"> + <reg name="f0" bitsize="64" type="ieee_double" regnum="32"/> + <reg name="f1" bitsize="64" type="ieee_double"/> + <reg name="f2" bitsize="64" type="ieee_double"/> + <reg name="f3" bitsize="64" type="ieee_double"/> + <reg name="f4" bitsize="64" type="ieee_double"/> + <reg name="f5" bitsize="64" type="ieee_double"/> + <reg name="f6" bitsize="64" type="ieee_double"/> + <reg name="f7" bitsize="64" type="ieee_double"/> + <reg name="f8" bitsize="64" type="ieee_double"/> + <reg name="f9" bitsize="64" type="ieee_double"/> + <reg name="f10" bitsize="64" type="ieee_double"/> + <reg name="f11" bitsize="64" type="ieee_double"/> + <reg name="f12" bitsize="64" type="ieee_double"/> + <reg name="f13" bitsize="64" type="ieee_double"/> + <reg name="f14" bitsize="64" type="ieee_double"/> + <reg name="f15" bitsize="64" type="ieee_double"/> + <reg name="f16" bitsize="64" type="ieee_double"/> + <reg name="f17" bitsize="64" type="ieee_double"/> + <reg name="f18" bitsize="64" type="ieee_double"/> + <reg name="f19" bitsize="64" type="ieee_double"/> + <reg name="f20" bitsize="64" type="ieee_double"/> + <reg name="f21" bitsize="64" type="ieee_double"/> + <reg name="f22" bitsize="64" type="ieee_double"/> + <reg name="f23" bitsize="64" type="ieee_double"/> + <reg name="f24" bitsize="64" type="ieee_double"/> + <reg name="f25" bitsize="64" type="ieee_double"/> + <reg name="f26" bitsize="64" type="ieee_double"/> + <reg name="f27" bitsize="64" type="ieee_double"/> + <reg name="f28" bitsize="64" type="ieee_double"/> + <reg name="f29" bitsize="64" type="ieee_double"/> + <reg name="f30" bitsize="64" type="ieee_double"/> + <reg name="f31" bitsize="64" type="ieee_double"/> + + <reg name="fpscr" bitsize="32" group="float" regnum="71"/> + </feature> +</target> |