gdb
コードのデバッグに使用したい。コマンドを書くとき:
gdb gdns_processor
から警告メッセージが出力されますgdb
。
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/gdnscenter/bin/gdns_processor...
warning: the debug information found in "/usr/lib/debug//usr/local/gdnscenter/bin/gdns_processor.debug" does not match "/usr/local/gdnscenter/bin/gdns_processor" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug/usr/local/gdnscenter/bin/gdns_processor.debug" does not match "/usr/local/gdnscenter/bin/gdns_processor" (CRC mismatch).
(no debugging symbols found)...done.
CRC の不一致がわかりません。gdb
シンボルが見つからないのはなぜですか?
PS: 私gcc
のオプションには-g
フラグが設定されています。
CPPFLAGS="-D_LIBC_REENTRANT $CPPFLAGS -g"