gdb 是 UNIX平臺下軟件開發(fā)調(diào)試工具,本文我們來看看,如果你不想用 gdb 了,或者你的 gdb 出了問題想重裝,如何卸載這個調(diào)試工具呢?
前幾天安裝最新的gdb過程中出了點問題,想卸載一下,結(jié)果執(zhí)行“make uninstall”命令后,出現(xiàn)下面的結(jié)果:
- bash-3.2# make uninstall
- the uninstall target is not supported in this tree
看起來,gdb不支持直接用“make uninstall”命令卸載,那么如何卸載它呢?我在gdb mailing list里問了一下,收到了Doug Evans的回信:
- Yikes.
- A clumsy workaround is to cd into each subdir in the build tree and do
- make uninstall there.
只能是進入每個子目錄,分別執(zhí)行“make uninstall”命令了,后來,他又在一封單獨的信中提到,他已經(jīng)提交了bug,看看會不會有人做一下改進了.
新聞熱點
疑難解答