mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Enhance slightly the x86 debug trace unwind code
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14028
This commit is contained in:
parent
5caf0bf724
commit
8ab2c85c16
@ -262,8 +262,10 @@ UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known,
|
||||
UWord hash = uregs.xip % N_FP_CF_VERIF;
|
||||
Addr xip_verif = uregs.xip ^ fp_CF_verif_cache [hash];
|
||||
if (debug)
|
||||
VG_(printf)(" uregs.xip 0x%08lx xip_verif[0x%08lx]\n",
|
||||
uregs.xip, xip_verif);
|
||||
VG_(printf)(" uregs.xip 0x%08lx xip_verif[0x%08lx]"
|
||||
" xbp 0x%08lx xsp 0x%08lx\n",
|
||||
uregs.xip, xip_verif,
|
||||
uregs.xbp, uregs.xsp);
|
||||
// If xip is in cache, then xip_verif will be <= CFUNWIND.
|
||||
// Otherwise, if not in cache, xip_verif will be > CFUNWIND.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user