apt-get build-dep gcc apt-get build-dep gdb 主要用于才安上debian的系统直接用gcc出错的情况 如果需要重新编译gdb,需要先运行第二行. debian就是简单呀.