I'm recently started to use emacs gdb debugger but I can't find a way to clear *input/output* buffer for a re-run. emacs simply prints the output after the previous one!
Asked
Active
Viewed 458 times
3
-
Random guess: `M-x erase-buffer` might work. – legoscia Nov 02 '16 at 12:26
-
@legoscia It works, thanks. I have to write a wrapper to do the work behind the scenes based on `(buffer-name)` or something. – Ark Nov 02 '16 at 12:43
-
1If you come up with something useful, post it as an answer here :) – legoscia Nov 02 '16 at 13:23