【gdb】显示gdb版本信息

显示gdb版本信息

使用gdb时,如果想查看gdb版本信息,可以使用show version命令:

(gdb) show version
GNU gdb (GDB) 7.7.1
Copyright (C) 2014 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-solaris2.10".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".

 

参考资料

1. 显示gdb版本信息

2. gdb手册

posted @ 2023-10-16 09:13  苏格拉底的落泪  阅读(273)  评论(0编辑  收藏  举报