When using gdb with
M-x gdb, the
*input/output* buffer always pops up aggressively in any frame which has focus and isn't already displaying it. I would like the
*input/output* buffer to stay quietly in the background unless I manually bring it up.
Here's a very simple example with
M-x gdb. give a program of
bash and hit
*gud-bash* window, enter
run -c "while true; do echo hi && sleep 1; done"
Notice how the
*input/output of bash* window pops up. If you dismiss that buffer with
C-x 1 from the
*gud-bash* window, it comes back as soon as gdb produces any more stdout. That's the behavior I don't want.
In particular, now run
M-x make-frame (from the
*gud-bash* window). Notice how in the new frame,
*input/output of bash* also pops up! So it demands one window out of every single emacs frame.
How can I fix this?
Edit: I almost forgot to add - emacs version of
GNU Emacs 24.5.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.30)