当前位置:首页>Linux>【好消息】Linux: gdb-minimal

【好消息】Linux: gdb-minimal

  • 2026-08-27 00:52:09
【好消息】Linux: gdb-minimal
最近做Redhat9的升级工作,发现竟然有了gdb-minimal软件包,这个就是一个最小化依赖的gdb版本。作为开发必备的软件工具,这个gdb是不可获取的问题调试工具,如果没有,或者安装麻烦,那可真是一个麻烦来。虽然C++对象的输出还有些问题,但是绝大多数的功能都不落。
URL         : https://gnu.org/software/gdb/Summary     : A GNU source-level debugger for C, C++, Fortran, Go and other languages (minimal version)Description :GDB, the GNU debugger, allows you to debug programs written in C, C++,Fortran, Go, and other languages, by executing them in a controlledfashion and printing their data.
有了这个就省事多了,不用再因为依赖的原因,要再下载一堆的软件包,在虚拟机上安装一堆的软件包(如果可以设置yum repo的话倒是不用担心这个问题)。比如安装正式版本需要:
boost-regex-1.75.0-13.el9_7.x86_64.rpmsource-highlight-3.1.9-12.el9.x86_64.rpmlibipt-2.0.4-5.el9.x86_64.rpmlibbabeltrace-1.5.8-10.el9.x86_64.rpmgdb-headless-16.3-2.el9.x86_64.rpmgdb-16.3-2.el9.x86_64.rpm
也省的自己再单独编译gdb,configure, without这个,without那个的,很麻烦。像下面这个,
什么绿色版gdb-10.1.tar.gz( https://download.csdn.net/download/qq_36428903/19489406);
什么编译总结:https://mzhan017.blog.csdn.net/article/details/111577981
就统统不需要了。

最新文章

随机文章