Hi All:
I use GDB(Mingw 6.8) to debug a console program on windows. After I use "start" command to debug, a new console of the program pop up, and the program will break at the beginning of main function. Then I close the new console with clicking the close button at topright of the console window. But at this time, the GDB has no response to this operation. How to set GDB to let it has some response to this operation, like print out "program exit"?
 
Thanks
 
Fiveight