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