|
From: <sv...@va...> - 2014-06-14 10:05:11
|
Author: philippe
Date: Sat Jun 14 10:04:51 2014
New Revision: 14028
Log:
Enhance slightly the x86 debug trace unwind code
Modified:
trunk/coregrind/m_stacktrace.c
Modified: trunk/coregrind/m_stacktrace.c
==============================================================================
--- trunk/coregrind/m_stacktrace.c (original)
+++ trunk/coregrind/m_stacktrace.c Sat Jun 14 10:04:51 2014
@@ -262,8 +262,10 @@
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.
|