Subject: gdb does not show the prompt after the program finishes
From: Dan Nicolaescu <[email-masked]>
To: bug-gnu-emacs <[email-masked]>
Date: Wed, 23 Sep 2009 23:00:55 -0700 (PDT)

emacs -Q

M-x gdb RET /bin/ls RET
r

the program finishes, the output is shown, but the "(gdb)" prompt is not
shown anymore in the *gud-ls* buffer and "top" shows that emacs is
taking a lot of CPU time.