]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
PPC64, Valgrind with GDB does not display 64-bit and 128-bit registers
authorCarl Love <cel@us.ibm.com>
Fri, 22 Apr 2016 15:03:46 +0000 (15:03 +0000)
committerCarl Love <cel@us.ibm.com>
Fri, 22 Apr 2016 15:03:46 +0000 (15:03 +0000)
correctly

Forgot to add the new files to the previous commit 15864.

coregrind/m_gdbserver/power64-core2-valgrind-s1.xml
coregrind/m_gdbserver/power64-core2-valgrind-s2.xml
coregrind/m_gdbserver/power-vsx-valgrind-s1.xml
coregrind/m_gdbserver/power-vsx-valgrind-s2.xml
coregrind/m_gdbserver/power-vsx.xml

Bugzilla 360008 was opened for this issue.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15866

coregrind/m_gdbserver/power-vsx-valgrind-s1.xml [new file with mode: 0644]
coregrind/m_gdbserver/power-vsx-valgrind-s2.xml [new file with mode: 0644]
coregrind/m_gdbserver/power-vsx.xml [new file with mode: 0644]
coregrind/m_gdbserver/power64-core2-valgrind-s1.xml [new file with mode: 0644]
coregrind/m_gdbserver/power64-core2-valgrind-s2.xml [new file with mode: 0644]

diff --git a/coregrind/m_gdbserver/power-vsx-valgrind-s1.xml b/coregrind/m_gdbserver/power-vsx-valgrind-s1.xml
new file mode 100644 (file)
index 0000000..24730ff
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!-- Copyright (C) 2008-2016 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.  -->
+
+<!-- POWER7 VSX registers that do not overlap existing FP and VMX
+     registers.  -->
+<!DOCTYPE feature SYSTEM "gdb-target.dtd">
+<feature name="org.gnu.gdb.power.vsx">
+  <reg name="vs0hs1" bitsize="64" type="uint64"/>
+  <reg name="vs1hs1" bitsize="64" type="uint64"/>
+  <reg name="vs2hs1" bitsize="64" type="uint64"/>
+  <reg name="vs3hs1" bitsize="64" type="uint64"/>
+  <reg name="vs4hs1" bitsize="64" type="uint64"/>
+  <reg name="vs5hs1" bitsize="64" type="uint64"/>
+  <reg name="vs6hs1" bitsize="64" type="uint64"/>
+  <reg name="vs7hs1" bitsize="64" type="uint64"/>
+  <reg name="vs8hs1" bitsize="64" type="uint64"/>
+  <reg name="vs9hs1" bitsize="64" type="uint64"/>
+  <reg name="vs10hs1" bitsize="64" type="uint64"/>
+  <reg name="vs11hs1" bitsize="64" type="uint64"/>
+  <reg name="vs12hs1" bitsize="64" type="uint64"/>
+  <reg name="vs13hs1" bitsize="64" type="uint64"/>
+  <reg name="vs14hs1" bitsize="64" type="uint64"/>
+  <reg name="vs15hs1" bitsize="64" type="uint64"/>
+  <reg name="vs16hs1" bitsize="64" type="uint64"/>
+  <reg name="vs17hs1" bitsize="64" type="uint64"/>
+  <reg name="vs18hs1" bitsize="64" type="uint64"/>
+  <reg name="vs19hs1" bitsize="64" type="uint64"/>
+  <reg name="vs20hs1" bitsize="64" type="uint64"/>
+  <reg name="vs21hs1" bitsize="64" type="uint64"/>
+  <reg name="vs22hs1" bitsize="64" type="uint64"/>
+  <reg name="vs23hs1" bitsize="64" type="uint64"/>
+  <reg name="vs24hs1" bitsize="64" type="uint64"/>
+  <reg name="vs25hs1" bitsize="64" type="uint64"/>
+  <reg name="vs26hs1" bitsize="64" type="uint64"/>
+  <reg name="vs27hs1" bitsize="64" type="uint64"/>
+  <reg name="vs28hs1" bitsize="64" type="uint64"/>
+  <reg name="vs29hs1" bitsize="64" type="uint64"/>
+  <reg name="vs30hs1" bitsize="64" type="uint64"/>
+  <reg name="vs31hs1" bitsize="64" type="uint64"/>
+</feature>
diff --git a/coregrind/m_gdbserver/power-vsx-valgrind-s2.xml b/coregrind/m_gdbserver/power-vsx-valgrind-s2.xml
new file mode 100644 (file)
index 0000000..8854e8f
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!-- Copyright (C) 2008-2016 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.  -->
+
+<!-- POWER7 VSX registers that do not overlap existing FP and VMX
+     registers.  -->
+<!DOCTYPE feature SYSTEM "gdb-target.dtd">
+<feature name="org.gnu.gdb.power.vsx">
+  <reg name="vs0hs2" bitsize="64" type="uint64"/>
+  <reg name="vs1hs2" bitsize="64" type="uint64"/>
+  <reg name="vs2hs2" bitsize="64" type="uint64"/>
+  <reg name="vs3hs2" bitsize="64" type="uint64"/>
+  <reg name="vs4hs2" bitsize="64" type="uint64"/>
+  <reg name="vs5hs2" bitsize="64" type="uint64"/>
+  <reg name="vs6hs2" bitsize="64" type="uint64"/>
+  <reg name="vs7hs2" bitsize="64" type="uint64"/>
+  <reg name="vs8hs2" bitsize="64" type="uint64"/>
+  <reg name="vs9hs2" bitsize="64" type="uint64"/>
+  <reg name="vs10hs2" bitsize="64" type="uint64"/>
+  <reg name="vs11hs2" bitsize="64" type="uint64"/>
+  <reg name="vs12hs2" bitsize="64" type="uint64"/>
+  <reg name="vs13hs2" bitsize="64" type="uint64"/>
+  <reg name="vs14hs2" bitsize="64" type="uint64"/>
+  <reg name="vs15hs2" bitsize="64" type="uint64"/>
+  <reg name="vs16hs2" bitsize="64" type="uint64"/>
+  <reg name="vs17hs2" bitsize="64" type="uint64"/>
+  <reg name="vs18hs2" bitsize="64" type="uint64"/>
+  <reg name="vs19hs2" bitsize="64" type="uint64"/>
+  <reg name="vs20hs2" bitsize="64" type="uint64"/>
+  <reg name="vs21hs2" bitsize="64" type="uint64"/>
+  <reg name="vs22hs2" bitsize="64" type="uint64"/>
+  <reg name="vs23hs2" bitsize="64" type="uint64"/>
+  <reg name="vs24hs2" bitsize="64" type="uint64"/>
+  <reg name="vs25hs2" bitsize="64" type="uint64"/>
+  <reg name="vs26hs2" bitsize="64" type="uint64"/>
+  <reg name="vs27hs2" bitsize="64" type="uint64"/>
+  <reg name="vs28hs2" bitsize="64" type="uint64"/>
+  <reg name="vs29hs2" bitsize="64" type="uint64"/>
+  <reg name="vs30hs2" bitsize="64" type="uint64"/>
+  <reg name="vs31hs2" bitsize="64" type="uint64"/>
+</feature>
diff --git a/coregrind/m_gdbserver/power-vsx.xml b/coregrind/m_gdbserver/power-vsx.xml
new file mode 100644 (file)
index 0000000..411e35c
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!-- Copyright (C) 2008-2016 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.  -->
+
+<!-- POWER7 VSX registers that do not overlap existing FP and VMX
+     registers.  -->
+<!DOCTYPE feature SYSTEM "gdb-target.dtd">
+<feature name="org.gnu.gdb.power.vsx">
+  <reg name="vs0h" bitsize="64" type="uint64" regnum="107"/>
+  <reg name="vs1h" bitsize="64" type="uint64"/>
+  <reg name="vs2h" bitsize="64" type="uint64"/>
+  <reg name="vs3h" bitsize="64" type="uint64"/>
+  <reg name="vs4h" bitsize="64" type="uint64"/>
+  <reg name="vs5h" bitsize="64" type="uint64"/>
+  <reg name="vs6h" bitsize="64" type="uint64"/>
+  <reg name="vs7h" bitsize="64" type="uint64"/>
+  <reg name="vs8h" bitsize="64" type="uint64"/>
+  <reg name="vs9h" bitsize="64" type="uint64"/>
+  <reg name="vs10h" bitsize="64" type="uint64"/>
+  <reg name="vs11h" bitsize="64" type="uint64"/>
+  <reg name="vs12h" bitsize="64" type="uint64"/>
+  <reg name="vs13h" bitsize="64" type="uint64"/>
+  <reg name="vs14h" bitsize="64" type="uint64"/>
+  <reg name="vs15h" bitsize="64" type="uint64"/>
+  <reg name="vs16h" bitsize="64" type="uint64"/>
+  <reg name="vs17h" bitsize="64" type="uint64"/>
+  <reg name="vs18h" bitsize="64" type="uint64"/>
+  <reg name="vs19h" bitsize="64" type="uint64"/>
+  <reg name="vs20h" bitsize="64" type="uint64"/>
+  <reg name="vs21h" bitsize="64" type="uint64"/>
+  <reg name="vs22h" bitsize="64" type="uint64"/>
+  <reg name="vs23h" bitsize="64" type="uint64"/>
+  <reg name="vs24h" bitsize="64" type="uint64"/>
+  <reg name="vs25h" bitsize="64" type="uint64"/>
+  <reg name="vs26h" bitsize="64" type="uint64"/>
+  <reg name="vs27h" bitsize="64" type="uint64"/>
+  <reg name="vs28h" bitsize="64" type="uint64"/>
+  <reg name="vs29h" bitsize="64" type="uint64"/>
+  <reg name="vs30h" bitsize="64" type="uint64"/>
+  <reg name="vs31h" bitsize="64" type="uint64"/>
+</feature>
diff --git a/coregrind/m_gdbserver/power64-core2-valgrind-s1.xml b/coregrind/m_gdbserver/power64-core2-valgrind-s1.xml
new file mode 100644 (file)
index 0000000..1012a2d
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!-- Copyright (C) 2007, 2008, 2009, 2010 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.core2-valgrind-s1">
+  <reg name="pcs1" bitsize="64" type="code_ptr"/>
+  <reg name="msrs1" bitsize="64" type="uint64"/>
+  <reg name="crs1" bitsize="32" type="uint32"/>
+  <reg name="lrs1" bitsize="64" type="code_ptr"/>
+  <reg name="ctrs1" bitsize="64" type="uint64"/>
+  <reg name="xers1" bitsize="32" type="uint32"/>
+</feature>
diff --git a/coregrind/m_gdbserver/power64-core2-valgrind-s2.xml b/coregrind/m_gdbserver/power64-core2-valgrind-s2.xml
new file mode 100644 (file)
index 0000000..fa50bd4
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!-- Copyright (C) 2007, 2008, 2009, 2010 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.core2-valgrind-s2">
+  <reg name="pcs2" bitsize="64" type="code_ptr"/>
+  <reg name="msrs2" bitsize="64" type="uint64"/>
+  <reg name="crs2" bitsize="32" type="uint32"/>
+  <reg name="lrs2" bitsize="64" type="code_ptr"/>
+  <reg name="ctrs2" bitsize="64" type="uint64"/>
+  <reg name="xers2" bitsize="32" type="uint32"/>
+</feature>