In an emacs, start gdb using something similar to: M-x gdb RET gdb -i=mi bar RET Then use the following gdb session: start b run In my output, I end up in a state without a (gdb) prompt. Here is an example of my output: