From: Godmar Back Date: Sun, 23 Sep 2007 15:40:23 +0000 (+0000) Subject: fixed typo: "pass" should be "fail" X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=813ae733c34dde5e0953ed725d2f30f2e4124c0c;p=pintos-anon fixed typo: "pass" should be "fail" --- 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