From 813ae733c34dde5e0953ed725d2f30f2e4124c0c Mon Sep 17 00:00:00 2001 From: Godmar Back Date: Sun, 23 Sep 2007 15:40:23 +0000 Subject: [PATCH] fixed typo: "pass" should be "fail" --- doc/threads.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/threads.texi b/doc/threads.texi index f1fd4df..c1519e8 100644 --- a/doc/threads.texi +++ b/doc/threads.texi @@ -633,7 +633,7 @@ does not actually mean that @func{pass} called @func{debug_panic}. In fact, @func{fail} called @func{debug_panic} (via the @func{PANIC} macro). GCC knows that @func{debug_panic} does not return, because it is declared @code{NO_RETURN} (@pxref{Function and Parameter -Attributes}), so it doesn't include any code in @func{pass} to take +Attributes}), so it doesn't include any code in @func{fail} to take control when @func{debug_panic} returns. This means that the return address on the stack looks like it is at the beginning of the function that happens to follow @func{fail} in memory, which in this case happens -- 2.30.2