[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xasserts and vertical motion.
From: |
Richard Stallman |
Subject: |
Re: xasserts and vertical motion. |
Date: |
Wed, 02 Mar 2005 21:27:48 -0500 |
> You should be able to continue by typing the GDB `return' command
> and then `c'. Does it work?
Not really. I think that "abort" may be marked as "noreturn" in the
GCC header files, and so GCC does not bother keeping the stack or code
in a consistent state after return.
Perhaps you have to compile without optimization.
As another consequence, without an explicit -fno-crossjumping placed
into CFLAGS, all asserts in a function will use the same call to
abort
That is another advantage to compiling without optimization.