I am following the tutorial Open GDB (within Emacs for added functionality) on Emacs 25.2.1 with Evil Spacemacs and Ivy (the commands gud-gdb and gdb get the same results):
SPC f f (counsel-find-file) Find file: tutorial/foo.c SPC c C (compile) Compile command: gcc -g -o foo foo.c SPC SPC M-x gud-gdb foo (match required) SPC SPC M-x gud-gdb Run gud-gdb (like this): gud-gdb foo
What does "like this" mean?
It opens GUD interaction buffer
avg is the name of a previous program I was trying to debug.
Update: the GUD interaction buffer now opens to
Any how, the GUD interaction buffer did open, but it's broken:
(gdb) list Undefined command: "-interpreter-exec". Try "help". (gdb) help Undefined command: "-interpreter-exec". Try "help".