When I try to scroll the source window with the arrow keys, the previously outputted lines are not properly overwritten, resulting in a weird looking:
~/.gdbinit only contains
set startup-with-shell off.
I installed gdb by
brew install gdb. Here is the version info:
[firstname.lastname@example.org ~/Projects/play_ground]$ gdb --version GNU gdb (GDB) 8.0 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin16.6.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word".
I'm using iTerm2 under Sierra 10.12.6 (16G29), if it's relevant.