Settings

Theme

Gdb: graphic (tui) mode

nicolasb.com.ar

34 points by nicolasbrailo 15 years ago · 10 comments

Reader

jzila 15 years ago

Or you can use cgdb (http://cgdb.sourceforge.net/), which has syntax highlighting and Vim keybindings.

njs12345 15 years ago

There's also gdb-mode for emacs, if you're so inclined: http://emacs-fu.blogspot.com/2009/02/fancy-debugging-with-gd...

erez 15 years ago

Ubuntu/debian has a package called gdbtui which does exactly what gdb -tui does

  • jpr 15 years ago

    Can't seem to find the package on Ubuntu 10.10, do I need to enable some repository?

    EDIT: Apparently it was included in the basic gdb package or something.

    • ludwigvan 15 years ago

      It is a simple script.

      cat `which gdbtui`

      #!/bin/sh

      prog=$(basename $0 tui)

      dir=$(dirname $0) if [ "$dir" != "." ]; then prog=$dir/$prog fi

      exec $prog --tui "$@"

chanux 15 years ago

Not sure if I'm adding value here but gdbtui also works (article mentions gdb -tui).

lallysingh 15 years ago

This is a really nice way to debug generated assembly, useful for LLVM hacking.

kaeluka 15 years ago

made my day! thanks :)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection