Tag Archives: core dump

GDB Tutorial Command Line Walkthrough : Part 3

Infinite loop Well, the segfault is gone, but now the code just runs in a continuous loop, which is arguably worse. Run the invader program from GDB and press Ctrl-C to halt execution. View a backtrace by typing bt to see where we are in the code (screenshot below). Note that in a larger, multi-threaded program, when […]