Start gdb on the resulting progam bar. An example (modify to suit location): M-x gdb RET C-a C-k gdb -i=mi bar RET Use the following gdb session: start n n n n n n n n start Here is what the output is for me: