]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Enhance slightly the x86 debug trace unwind code
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 14 Jun 2014 10:04:51 +0000 (10:04 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 14 Jun 2014 10:04:51 +0000 (10:04 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14028

coregrind/m_stacktrace.c

index 6f2428963b5aca3fe6a3ff4adbe6c4f6af33d344..23454746803002475fcbf813b7397a49db7264c1 100644 (file)
@@ -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.