為什么list和file都沒有內(nèi)容輸出呢
為什么我在mac上面gdb后輸入list一直顯示No symbol table is loaded. ?Use the "file" command 輸入file一直顯示No executable file now.No symbol file now.呢?請(qǐng)教大神,謝謝
為什么我在mac上面gdb后輸入list一直顯示No symbol table is loaded. ?Use the "file" command 輸入file一直顯示No executable file now.No symbol file now.呢?請(qǐng)教大神,謝謝
2017-04-18
舉報(bào)
2017-04-19
gcc命令編譯時(shí)要加-g選項(xiàng)
eg: gcc -g main.c -o main.out ?這樣gdb命令才能正常使用