$ gdb
GNU gdb (GDB) 7.11.1
Copyright (C) 2016 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-w64-mingw32".
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".
Traceback (most recent call last):
File "<string>", line 3, in <module>
ImportError: No module named libstdcxx.v6.printers
d:\msyq64\mingw64\bin\../etc/gdbinit:5: Error in sourced command file:
Undefined command: "".
eclipse调试C++代码报错: Could not determine GDB version using command: gdb --version
最新推荐文章于 2026-06-11 17:14:02 发布
在尝试使用Eclipse CDT进行C++代码调试时,遇到错误提示'Could not determine GDB version using command: gdb --version'。通过检查msyq64mingw64in../etc/gdbinit文件内容,发现可能的配置或环境问题。解决这个问题可能涉及到GDB安装路径的确认、环境变量设置或者Eclipse的调试配置调整。
开发板推荐:天空星STM32F407VET6开发板
超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印
开发板推荐:天空星STM32F407VET6开发板
超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印

978

被折叠的 条评论
为什么被折叠?



