문제

i am getting crash in the thread. while debugging coredump with gdb, i want to see the state of the thread just before crash.

in my program i am raising a signal for that thread and handling it. it would be helpful to know the state before the thread has crashed and the time before the signal raised for that thread. is it possible to obtain this information from gdb?

Thanks

도움이 되었습니까?

다른 팁

With "Reversible Debugging" of gdb 7.4 it is possible. Look here for a little tutorial.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top