If you are looking for software to use, go to Huajun Software Park! software release
Location: front pageTutorial strategyTutorialComputer software tutorials Unix uninstall gd...

Tips for uninstalling the gdb debugging tool in Unix

Author: Ai Xiaomo Date: 2017-05-22

Unix systems can uninstall installed programs through commands, but some users have problems when using the make uninstall command to uninstall the gdb debugging tool, and the uninstallation fails. The following editor will teach you how to uninstall the gdb debugging tool in Unix.

Tips for uninstalling the gdb debugging tool in Unix

Something went wrong while installing the latest gdb a few days ago, and I want to uninstall it. After executing the "make uninstall" command, the following results appear:

bash-3.2# make uninstall

the uninstall target is not supported in this tree

It seems that gdb does not support uninstalling directly with the "make uninstall" command, so how to uninstall it?

Yikes.

A clumsy workaround is to cd into each subdir in the build tree and do

make uninstall there.

The only way is to enter each subdirectory and execute the "make uninstall" command separately.

This problem is mainly due to a bug in the uninstallation of the gdb debugging tool. If it is not repaired, you need to enter each subdirectory and execute the command to uninstall the gdb debugging tool.

Related articles