[–] njs12345 15y ago ↗ There's also gdb-mode for emacs, if you're so inclined: http://emacs-fu.blogspot.com/2009/02/fancy-debugging-with-gd...
[–] jzila 15y ago ↗ Or you can use cgdb (http://cgdb.sourceforge.net/), which has syntax highlighting and Vim keybindings. [–] bluekeybox 15y ago ↗ Oh my god, thank you. Have used Vim and gdb for two years and didn't know cgdb existed. [–] jimauthors 15y ago ↗ Amazing. Dint know about that!
[–] bluekeybox 15y ago ↗ Oh my god, thank you. Have used Vim and gdb for two years and didn't know cgdb existed.
[–] lallysingh 15y ago ↗ This is a really nice way to debug generated assembly, useful for LLVM hacking.
[–] erez 15y ago ↗ Ubuntu/debian has a package called gdbtui which does exactly what gdb -tui does [–] jpr 15y 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 15y ago ↗ It is a simple script.cat `which gdbtui`#!/bin/shprog=$(basename $0 tui)dir=$(dirname $0) if [ "$dir" != "." ]; then prog=$dir/$prog fiexec $prog --tui "$@"
[–] jpr 15y 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 15y ago ↗ It is a simple script.cat `which gdbtui`#!/bin/shprog=$(basename $0 tui)dir=$(dirname $0) if [ "$dir" != "." ]; then prog=$dir/$prog fiexec $prog --tui "$@"
[–] ludwigvan 15y ago ↗ It is a simple script.cat `which gdbtui`#!/bin/shprog=$(basename $0 tui)dir=$(dirname $0) if [ "$dir" != "." ]; then prog=$dir/$prog fiexec $prog --tui "$@"
[–] chanux 15y ago ↗ Not sure if I'm adding value here but gdbtui also works (article mentions gdb -tui).
10 comments
[ 5.2 ms ] story [ 44.1 ms ] threadEDIT: Apparently it was included in the basic gdb package or something.
cat `which gdbtui`
#!/bin/sh
prog=$(basename $0 tui)
dir=$(dirname $0) if [ "$dir" != "." ]; then prog=$dir/$prog fi
exec $prog --tui "$@"