News for hackers. Stuff that matters.
Re:Reverse Execution in GDB 7 is imminent by yan on Wednesday September 23, 2009 @01:40PM (#839714)
Because the state of a process is undefined after a seg fault.
Re:Reverse Execution in GDB 7 is imminent by cracki on Wednesday September 23, 2009 @02:20PM (#839817)
"undefined" doesn't mean it has no state. it does have some state. it's just that this state can't be predicted. it can still be recorded and used in debugging backwards.
Re:Reverse Execution in GDB 7 is imminent by ori_b on Wednesday September 23, 2009 @05:07PM (#840129)
2 comments about that: First, it must be well defined in order for the operating system to be able to do something about the process. It may not be consistent, predictable to userspace, or runnable, but it must be something possibly sensible. Therefore, it doesn't matter, the debugger can still inspect it, and the programmer can make sense of this state.

Second, the debugger generally catches the signal before it gets handled.