GDB - how to find out from where program exited

Viewed 12128

While debugging a program in GDB, I get an unexpected "program exited normally". So I'm wondering if is there a way to find out from where (which line) the program exited.

Program is multi-threaded, if that matters.

3 Answers
Related