From: Julian Seward Date: Mon, 16 May 2005 11:47:17 +0000 (+0000) Subject: Fix comment. X-Git-Tag: svn/VALGRIND_3_0_0~581 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a2b57fdc5f53cd91249e3be255d70adb8672aab;p=thirdparty%2Fvalgrind.git Fix comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3737 --- diff --git a/coregrind/m_stacktrace.c b/coregrind/m_stacktrace.c index 49d7dfcd43..9cb3ffcccc 100644 --- a/coregrind/m_stacktrace.c +++ b/coregrind/m_stacktrace.c @@ -120,7 +120,7 @@ UInt VG_(get_StackTrace2) ( Addr* ips, UInt n_ips, we can safely try the old-fashioned method. */ /* This bit is supposed to deal with frames resulting from functions which begin "pushl% ebp ; movl %esp, %ebp" (x86) - or "pushl% ebp ; movl %esp, %ebp" (amd64). Unfortunately, + or "pushq %rbp ; movq %rsp, %rbp" (amd64). Unfortunately, since we can't (easily) look at the insns at the start of the fn, like GDB does, there's no reliable way to tell. Hence the hack of first trying out CFI, and if that fails,