摘要:
Enable your user to run gdb as root without beeing asked for any password:sudo visudoAdd the following line after all other rules:<youruser> ALL=(root) NOPASSWD:/usr/bin/gdbCreate or modify a debug configuration ineclipseto run gdb as roote.g. in Run > Debug Configurations > C/C++ Applic 阅读全文