From: Philippe Waroquiers Date: Sun, 31 May 2015 15:26:51 +0000 (+0000) Subject: unwind amd64 trace: improve also the fp chain unwind trace X-Git-Tag: svn/VALGRIND_3_11_0~331 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=20b64d7378fd6bf47d029519e0d90a9b742b2951;p=thirdparty%2Fvalgrind.git unwind amd64 trace: improve also the fp chain unwind trace git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15301 --- diff --git a/coregrind/m_stacktrace.c b/coregrind/m_stacktrace.c index 5c7fbe0714..d720eb3ecd 100644 --- a/coregrind/m_stacktrace.c +++ b/coregrind/m_stacktrace.c @@ -601,7 +601,8 @@ UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known, 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;