How clear gdb command screen?

JohnTortugo picture JohnTortugo · Oct 17, 2012 · Viewed 20k times · Source

Is it possible to clear the command window of gdb? I mean, is there a command in gdb that do the same (for the command windows) as the clear command in a bash terminal?

Answer

user529758 picture user529758 · Oct 17, 2012

Hit Control + L. Works for me in Linux and Mac OS X as well with recent versions of GDB.