News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

question about exit the debugee when debugging

Started by ollydbg, August 02, 2011, 07:43:37 AM

Previous topic - Next topic

ollydbg

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?

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

oBFusCATed

Yes, gdb-7.3's output has changed, I will fix it, when I get back home. Until then install gdb-7.2.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ollydbg

Quote from: 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.
thanks, I still use 7.3, I do not bother to extra click after the debugee exits. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.