From: Carl Love Date: Mon, 27 Jun 2016 15:50:29 +0000 (+0000) Subject: Add the HW register support for missing registers in get_otrack_shadow_offset_wrk... X-Git-Tag: svn/VALGRIND_3_12_0~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47216ba855eb4ef1d855f82811f863d3f5c1c448;p=thirdparty%2Fvalgrind.git Add the HW register support for missing registers in get_otrack_shadow_offset_wrk(). The registers are: NRADDR, NRADDR_GPR2, (REDIR_STACK, TFHAR, TEXASR, TEXASRU, TFIAR, PPR, PSPB. Bugzilla 36728 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15895 --- diff --git a/NEWS b/NEWS index bbccbee36c..3520e3b906 100644 --- 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 diff --git a/memcheck/mc_machine.c b/memcheck/mc_machine.c index 50ddbe7956..1925109ed0 100644 --- a/memcheck/mc_machine.c +++ b/memcheck/mc_machine.c @@ -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-