Subject: Re: bug#11265: 24.0.94; gdb-mi very slow on Windows

From: Eli Zaretskii <[email-masked]>
Date: Wed, 18 Apr 2012 19:30:39 +0300

[Please keep the bug address on the CC list, so that this whole
discussion gets archived.]

> Date: Wed, 18 Apr 2012 08:53:16 +0200
> From: Karl-Heinz Schneider <[email-masked]>
> 
> I discovered that the slowdown happens after restarting the process to 
> debug.
> I did the following procedure:
> 
> 1. Start the debugger (with process cmd-line).
> 2. Enter run to start the process
> 3. Debug the process
> 4. Enter kill to stop the process
> 5. Change code and recompile
> 6. Start again with step 2
> 
> Doing this three or four times debugging starts to get slow.

If you omit step 5, does the problem still happen?

> All debugging is done within the gud buffer using GDB commands.

If, instead of stopping the process in step 4, you kill the gud buffer
through which you interact with GDB, do you still see the slowdown
after several times that you kill and restart the debugging?