patch and add a dependency to use ports gdb ("egdb") by default, this
doesn't seem to work too well with base gdb (for example input hangs or
something gets confused with gdb's questions like "Make breakpoint
pending on future shared library load").
cgdb is a lightweight curses (terminal-based) interface to the GNU
Debugger (GDB). In addition to the standard gdb console, cgdb provides
a split screen view that displays the source code as it executes.
Syntax-highlighted source window
Visual breakpoint setting
Keyboard shortcuts for common functions
Searching source window (using regexp)
Scrollable gdb history of entire session
Tab completion
Key mappings (macros)