Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ollydbg on August 02, 2011, 07:43:37 am

Title: question about exit the debugee when debugging
Post by: ollydbg on August 02, 2011, 07:43:37 am
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:
Code
[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?

Title: Re: question about exit the debugee when debugging
Post by: oBFusCATed on August 02, 2011, 03:05:20 pm
Yes, gdb-7.3's output has changed, I will fix it, when I get back home. Until then install gdb-7.2.
Title: Re: question about exit the debugee when debugging
Post by: ollydbg on August 02, 2011, 03:08:24 pm
Yes, gdb-7.3's output has changed, I will fix it, when I get back home. Until then install gdb-7.2.
thanks, I still use 7.3, I do not bother to extra click after the debugee exits. :D