]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add the HW register support for missing registers in get_otrack_shadow_offset_wrk...
authorCarl Love <cel@us.ibm.com>
Mon, 27 Jun 2016 15:50:29 +0000 (15:50 +0000)
committerCarl Love <cel@us.ibm.com>
Mon, 27 Jun 2016 15:50:29 +0000 (15:50 +0000)
Bugzilla  36728

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

NEWS
memcheck/mc_machine.c

diff --git a/NEWS b/NEWS
index bbccbee36c20839887a8fd42d43ac456fd486316..3520e3b906d8855fae0381577abeab5662a1c897 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -108,6 +108,8 @@ where XXXXXX is the bug number as listed below.
 363705  arm64 missing syscall name_to_handle_at and open_by_handle_at
 363714  ppc64 missing syscalls sync, waitid and name_to/open_by_handle_at
 364413  pselect sycallwrapper mishandles NULL sigmask
+364728  Power PC, missing support for several HW registrs in
+        get_otrack_shadow_offset_wrk()
 
 n-i-bz Fix incorrect (or infinite loop) unwind on RHEL7 x86 and amd64
 n-i-bz massif --pages-as-heap=yes does not report peak caused by mmap+munmap
index 50ddbe7956ddcdd1f0cf782361042b7f83f8025c..1925109ed0ac2c77c9e8a13895c791f435470fd7 100644 (file)
@@ -190,6 +190,15 @@ static Int get_otrack_shadow_offset_wrk ( Int offset, Int szB )
    if (o == GOF(VSCR)      && sz == 4) return -1;
    if (o == GOF(VRSAVE)    && sz == 4) return -1;
    if (o == GOF(REDIR_SP)  && sz == 8) return -1;
+   if (o == GOF(NRADDR)    && sz == 8) return -1;
+   if (o == GOF(NRADDR_GPR2) && sz == 8) return -1;
+   if (o == GOF(REDIR_STACK) && sz == 8) return -1;
+   if (o == GOF(TFHAR)     && sz == 8) return -1;
+   if (o == GOF(TEXASR)    && sz == 8) return -1;
+   if (o == GOF(TEXASRU)   && sz == 8) return -1;
+   if (o == GOF(TFIAR)     && sz == 8) return -1;
+   if (o == GOF(PPR)       && sz == 8) return -1;
+   if (o == GOF(PSPB)      && sz == 8) return -1;
 
    // With ISA 2.06, the "Vector-Scalar Floating-point" category
    // provides facilities to support vector and scalar binary floating-