Subject: bug#9839: compile with gdb running

From: Glenn Morris <[email-masked]>
Date: Mon, 24 Oct 2011 15:32:26 -0400

Glenn Morris wrote:

> Fo me, simply running
>
> emacs -Q
> M-x gdb RET gdb -i=mi ls RET
> r RET
>
> causes Emacs to start using 100% of CPU (but still be usable).
> This happens on two different systems.

Sounds like my problem is

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4545

which is also

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5145

Applying the suggestion from

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5145#10

fixes both my problem and yours AFAICS.

So it seems M-x gdb in Emacs has not been working right for a couple of
years, which is a shame.

I am merging all these bugs and raising the severity.