Re: [PATCH v2] os: Prevent backtrace from being stopped in noreturn functions.

2010-03-24 Thread Daniel Stone
On Wed, Mar 17, 2010 at 12:16:57PM +0200, Rami Ylimaki wrote: There are two noreturn functions in the X server: FatalError and AbortServer. Having any of those two functions in the middle of a call stack will prevent unwinding the program properly and stops the backtrace at those functions in

[PATCH v2] os: Prevent backtrace from being stopped in noreturn functions.

2010-03-17 Thread Rami Ylimaki
There are two noreturn functions in the X server: FatalError and AbortServer. Having any of those two functions in the middle of a call stack will prevent unwinding the program properly and stops the backtrace at those functions in gdb. The file containing FatalError and AbortServer, os/log.c,