I\'m trying to use GDB to debug (to find an annoying segfault). When I run:
gdb ./filename
from the command line, I get the following error:>
It seems your GNU Debugger (gdb
) doesn't support x86_64 architecture.
So try LLDB Debugger (lldb
) which aims to replace it. It supports i386, x86-64 and ARM instruction sets.
It's available by default on BSD/OS X, on Linux install via: sudo apt-get install lldb
(or use yum
).
See: gdb to lldb command map page for more info.