I noticed that when using a 201107xx version of MinGw gdb. When the debuggee exit, I always get halted in the C::B, then I need to press the "run" button to exit the debugging status. (I'm testing this on debugger branch).
Here is the debug-log:
[Inferior 1 (process 2400) exited normally]
>>>>>>cb_gdb:
> cont
The program is not being run.
>>>>>>cb_gdb:
> quit
I always get halted when I received the "[Inferior 1 (process 2400) exited normally]" message, then I need to press the "run" button then let the c::b to send the "cont" command to GDB, then I'm truly leaving the debugging status.
Any ideas?