gdb --versio
时间: 2024-09-26 21:09:39 浏览: 30
gdb-multiarch 14.2 windows更新版本,增加gdb服务,支持python3
`gdb` 是GNU调试器(GNU Debugger)的简称,它是一个强大的命令行工具,用于调试各种类型的程序,包括Linux、Unix和某些类Unix系统上的应用程序。当你在终端输入 `gdb --version` 时,你会看到它的版本信息,通常会显示 GDB 的完整名称、版本号以及可能还包括构建日期等信息。
例如,输出可能会像这样:
```
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<https://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
```
阅读全文