Gdb "Windows" commands
Recently I discovered TUI (Text User Interface) of Gdb and liked it immediatly.(gdb) layout src # open window with source code previewhttp://ftp.gnu.org/old-gnu/Manuals/gdb-5.1.1/html_chapter/gdb_19.html
(gdb) refresh # refresh the window when it gets overwritten
Checkout also cgdb
http://cgdb.github.io/