Debugging Assembly Programs with gdb
Is your program crashing due to a segmentation fault or some other error? Not sure why? Use gdb (GNU debugger) to pointpoint the section of code that’s causing problems. gdb comes installed by default on most linux installations. In order for gdb to work, the program must be compiled with debugging flags. For example: nasm… Read More »