I'm trying to debug a simple program of several line with gdb from the command line. The problem is that whenever I run the program it runs the program and then automatically assume that I wanted to quit and quit gdb for me.
- I'm using gcc compiler and I've updated the version (which solved another problem that I had).
- to clarify the problem is that it is not me who entered the
quit
command after therun
command, gdb generates it automatically without asking me and then assumes yes.