←back to thread

376 points turrini | 1 comments | | HN request time: 0.201s | source
Show context
alexhutcheson ◴[] No.42146843[source]
GDB also has a built-in text user interface (TUI) that is surprisingly easy to use[1]. It even supports mouse interaction.

[1] https://sourceware.org/gdb/current/onlinedocs/gdb.html/TUI.h...

replies(4): >>42146899 #>>42149505 #>>42150401 #>>42151565 #
1. b5n ◴[] No.42151565[source]
Personally I prefer cli over tui, but you can just toss something like this in a `.gdbinit`:

  tui new-layout default regs 1 {-horizontal src 1 asm 1} 2 status 0 cmd 1
  tui layout default
  tui enable