I have a problem when debugging Assembly code with DDD (also tried GDB). When I compile my program and make executable file with gcc -g -o program program.S
I need to add -m32
to make 32-bit executable file. But when I open DDD and click "Run" , warnings start to pop-up and after that it looks like program went into inf loop or expects something to be entered from keyboard("Continuing"). I will add two pictures where you can see in bottom left corner what I talked about.
PS: I am sure that the problem is not in code(the program executes correctly).
After this, it just shows "Continuing" where warnings were.