Is there a way to clear gud's (gdb's) *input/output* buffer for a re-run?

521 Views Asked by At

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!

1

There are 1 best solutions below

4
On

The function is (comint-clear-buffer) bounded to C-c M-o, defined in gdb-inferior-io-mode-map.

(Old question, but first Google result.)