From 52796b991354a101766805304f44dca1f2cab742 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Fri, 25 Oct 2024 08:40:26 +0200 Subject: [PATCH] Typos in comments about syscall stacktraces. --- coregrind/m_stacktrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coregrind/m_stacktrace.c b/coregrind/m_stacktrace.c index cd42e5a96..2cb0f3233 100644 --- a/coregrind/m_stacktrace.c +++ b/coregrind/m_stacktrace.c @@ -508,7 +508,7 @@ UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known, * system calls are implemented with generated wrappers that call through * an interposing table of function pointers. The restult when built with * clang is that code for the frame pointer prolog is generated but then - * an optimized sibling call is made. That means ehe frame pointer is popped + * an optimized sibling call is made. That means the frame pointer is popped * off the stack and a jmp is made to the function in the table rather than * a call. * @@ -516,7 +516,7 @@ UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known, * no prolog but a copy of the frame pointer is stored 64byte word below the * stack pointer. If FreeBSD uses the hack for Darwin that sets * ips[i] = *(Addr *)uregs.xsp - 1; - * then the caller of the syyscall gets added twice. + * then the caller of the syscall gets added twice. */ UInt VG_(get_StackTrace_wrk) ( ThreadId tid_if_known, -- 2.47.2