|
From: <sv...@va...> - 2015-05-31 15:26:58
|
Author: philippe
Date: Sun May 31 16:26:51 2015
New Revision: 15301
Log:
unwind amd64 trace: improve also the fp chain unwind trace
Modified:
trunk/coregrind/m_stacktrace.c
Modified: trunk/coregrind/m_stacktrace.c
==============================================================================
--- trunk/coregrind/m_stacktrace.c (original)
+++ trunk/coregrind/m_stacktrace.c Sun May 31 16:26:51 2015
@@ -601,7 +601,8 @@
if (fps) fps[i] = uregs.xbp;
ips[i++] = uregs.xip - 1; /* -1: refer to calling insn, not the RA */
if (debug)
- VG_(printf)(" ipsF[%d]=%#08lx\n", i-1, ips[i-1]);
+ VG_(printf)(" ipsF[%d]=%#08lx rbp %#08lx rsp %#08lx\n",
+ i-1, ips[i-1], uregs.xbp, uregs.xsp);
uregs.xip = uregs.xip - 1; /* as per comment at the head of this loop */
if (UNLIKELY(cmrf > 0)) {RECURSIVE_MERGE(cmrf,ips,i);};
continue;
|