Bug 364728 - Power PC, missing support for several HW registrs in get_otrack_shadow_offset_wrk()
Summary: Power PC, missing support for several HW registrs in get_otrack_shadow_offset...
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (show other bugs)
Version: 3.12 SVN
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-24 23:07 UTC by Carl Love
Modified: 2016-06-27 15:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Add missing register support (1.22 KB, patch)
2016-06-27 15:36 UTC, Carl Love
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Love 2016-06-24 23:07:58 UTC
The Hardware trasaction registers and a couple of other HW registers are not supported in get_otrack_shadow_offset_wrk(), specifically:

NRADDR, NRADDR_GPR2, (REDIR_STACK, TFHAR, TEXASR, TEXASRU, TFIAR, PPR, PSPB

When running  valgrind --tool=memcheck --track-origins=yes --vex-iropt-level=0 ./test_isa_3_0 -i
valgrind crashes with the message:

MC_(get_otrack_shadow_offset)(ppc64)(off=1376,sz=8)

Memcheck: mc_machine.c:332 (get_otrack_shadow_offset_wrk): the 'impossible' happened.


Reproducible: Always
Comment 1 Carl Love 2016-06-27 15:36:43 UTC
Created attachment 99724 [details]
Add missing register support
Comment 2 Carl Love 2016-06-27 15:51:03 UTC
Committed revision 15895.