From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQ7Je-0006sU-SP for qemu-devel@nongnu.org; Thu, 22 Jan 2009 16:42:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQ7Jb-0006rS-Cj for qemu-devel@nongnu.org; Thu, 22 Jan 2009 16:42:21 -0500 Received: from [199.232.76.173] (port=46642 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQ7Jb-0006rP-5Q for qemu-devel@nongnu.org; Thu, 22 Jan 2009 16:42:19 -0500 Received: from mx20.gnu.org ([199.232.41.8]:42312) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQ7Ja-0002ga-Ox for qemu-devel@nongnu.org; Thu, 22 Jan 2009 16:42:18 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQ7JY-0007Qv-DL for qemu-devel@nongnu.org; Thu, 22 Jan 2009 16:42:17 -0500 From: Nathan Froyd Date: Thu, 22 Jan 2009 12:42:08 -0800 Message-Id: <1232656933-28425-2-git-send-email-froydnj@codesourcery.com> In-Reply-To: <1232656933-28425-1-git-send-email-froydnj@codesourcery.com> References: <1232656933-28425-1-git-send-email-froydnj@codesourcery.com> Subject: [Qemu-devel] [PATCH 1/6] Add XML files for PowerPC registers Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Nathan Froyd 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. Signed-off-by: Nathan Froyd --- configure | 4 +++ gdb-xml/power-altivec.xml | 57 +++++++++++++++++++++++++++++++++++++++++++++ gdb-xml/power-core.xml | 49 ++++++++++++++++++++++++++++++++++++++ gdb-xml/power-fpu.xml | 44 ++++++++++++++++++++++++++++++++++ gdb-xml/power-spe.xml | 45 +++++++++++++++++++++++++++++++++++ gdb-xml/power64-core.xml | 49 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 248 insertions(+), 0 deletions(-) create mode 100644 gdb-xml/power-altivec.xml create mode 100644 gdb-xml/power-core.xml create mode 100644 gdb-xml/power-fpu.xml create mode 100644 gdb-xml/power-spe.xml create mode 100644 gdb-xml/power64-core.xml diff --git a/configure b/configure index 6a1432a..3c9d832 100755 --- a/configure +++ b/configure @@ -1638,6 +1638,7 @@ case "$target_cpu" in 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 @@ case "$target_cpu" in 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 @@ case "$target_cpu" in 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 @@ case "$target_cpu" in 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 diff --git a/gdb-xml/power-altivec.xml b/gdb-xml/power-altivec.xml new file mode 100644 index 0000000..84f4d27 --- /dev/null +++ b/gdb-xml/power-altivec.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb-xml/power-core.xml b/gdb-xml/power-core.xml new file mode 100644 index 0000000..0c69e8c --- /dev/null +++ b/gdb-xml/power-core.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb-xml/power-fpu.xml b/gdb-xml/power-fpu.xml new file mode 100644 index 0000000..d1ca3a3 --- /dev/null +++ b/gdb-xml/power-fpu.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb-xml/power-spe.xml b/gdb-xml/power-spe.xml new file mode 100644 index 0000000..1ec15d6 --- /dev/null +++ b/gdb-xml/power-spe.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb-xml/power64-core.xml b/gdb-xml/power64-core.xml new file mode 100644 index 0000000..6cc1531 --- /dev/null +++ b/gdb-xml/power64-core.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 1.6.0.5