Skip to contentSkip to conversation

[6420] target-ppc: Add XML files for PowerPC registers

Qemu-devel Aurelien Jarno 1 participant 1 message Jan 24, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6420

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6420
Author:   aurel32
Date:     2009-01-24 15:07:34 +0000 (Sat, 24 Jan 2009)

Log Message:
-----------
target-ppc: Add XML files for PowerPC registers

These files are nearly identical to the XML files provided with GDB. The only difference is that power-{fpu,spe}.xml do not assign register numbers; the internal QEMU machinery takes care of that.

Define gdb_xml_files for ppc targets in configure as well.

Modified Paths:
--------------
trunk/configure

Added Paths:
-----------
trunk/gdb-xml/power-altivec.xml
trunk/gdb-xml/power-core.xml
trunk/gdb-xml/power-fpu.xml
trunk/gdb-xml/power-spe.xml
trunk/gdb-xml/power64-core.xml

Modified: trunk/configure
===================================================================

configure +4 -0
@@ -1638,6 +1638,7 @@
     echo "TARGET_ARCH=ppc" >> $config_mak
     echo "#define TARGET_ARCH \"ppc\"" >> $config_h
     echo "#define TARGET_PPC 1" >> $config_h
+    gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
   ;;
   ppcemb)
     echo "TARGET_ARCH=ppcemb" >> $config_mak
@@ -1650,6 +1651,7 @@
       echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
       echo "#define CONFIG_KVM 1" >> $config_h
     fi
+    gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
   ;;
   ppc64)
     echo "TARGET_ARCH=ppc64" >> $config_mak
@@ -1657,6 +1659,7 @@
     echo "#define TARGET_ARCH \"ppc64\"" >> $config_h
     echo "#define TARGET_PPC 1" >> $config_h
     echo "#define TARGET_PPC64 1" >> $config_h
+    gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
   ;;
   ppc64abi32)
     echo "TARGET_ARCH=ppc64" >> $config_mak
@@ -1666,6 +1669,7 @@
     echo "#define TARGET_PPC 1" >> $config_h
     echo "#define TARGET_PPC64 1" >> $config_h
     echo "#define TARGET_ABI32 1" >> $config_h
+    gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
   ;;
   sh4|sh4eb)
     echo "TARGET_ARCH=sh4" >> $config_mak

Added: trunk/gdb-xml/power-altivec.xml
===================================================================

gdb-xml/power-altivec.xml +57 -0

57 lines not on this page · raw message

Added: trunk/gdb-xml/power-core.xml
===================================================================

gdb-xml/power-core.xml +49 -0

49 lines not on this page · raw message

Added: trunk/gdb-xml/power-fpu.xml
===================================================================

gdb-xml/power-fpu.xml +44 -0

44 lines not on this page · raw message

Added: trunk/gdb-xml/power-spe.xml
===================================================================

gdb-xml/power-spe.xml +45 -0

45 lines not on this page · raw message

Added: trunk/gdb-xml/power64-core.xml
===================================================================

gdb-xml/power64-core.xml +49 -0

49 lines not on this page · raw message