]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix comment.
authorJulian Seward <jseward@acm.org>
Mon, 16 May 2005 11:47:17 +0000 (11:47 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 16 May 2005 11:47:17 +0000 (11:47 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3737

coregrind/m_stacktrace.c

index 49d7dfcd43c879bdf9151aa354aa54d3cc4dcf00..9cb3ffccccd72cd9bd662ad4e553f423b0a2b9d4 100644 (file)
@@ -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,