From: Dirk Mueller Date: Thu, 4 Oct 2007 21:36:40 +0000 (+0000) Subject: readd right adjustment. X-Git-Tag: svn/VALGRIND_3_3_0~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6ac6192c0ccc233ba2541b687f76429f6b4e03;p=thirdparty%2Fvalgrind.git readd right adjustment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6948 --- diff --git a/coregrind/m_stacktrace.c b/coregrind/m_stacktrace.c index 8bc2da61b9..18b8a3574a 100644 --- a/coregrind/m_stacktrace.c +++ b/coregrind/m_stacktrace.c @@ -158,7 +158,7 @@ UInt VG_(get_StackTrace2) ( ThreadId tid_if_known, fp = (((UWord*)fp)[0]); ips[i++] = ip; if (debug) - VG_(printf)(" ipsF[%d]=%p\n", i-1, ips[i-1]); + VG_(printf)(" ipsF[%d]=0x%08lx\n", i-1, ips[i-1]); ip = ip - 1; continue; } @@ -168,7 +168,7 @@ UInt VG_(get_StackTrace2) ( ThreadId tid_if_known, if ( VG_(use_CF_info)( &ip, &sp, &fp, fp_min, fp_max ) ) { ips[i++] = ip; if (debug) - VG_(printf)(" ipsC[%d]=%p\n", i-1, ips[i-1]); + VG_(printf)(" ipsC[%d]=0x%08lx\n", i-1, ips[i-1]); ip = ip - 1; continue; }