c++ - 关于 gdb 函数格式的说明

标签 c++ gdb

这种gdb输出是什么意思

#0  0x0000000000401782 in std::__fill_n_a<long long __vector(4)*, unsigned long, long long __vector(4)> (__first=0x604010, __n=1, __value=...)

__value=... 到底是什么意思?

最佳答案

从这里documentation link :

The value of parameter data in frame 1 has been replaced by ….
By default, GDB prints the value of a parameter only if it is a scalar
(integer, pointer, enumeration, etc). See command set print frame-arguments
in Print Settings for more details on how to configure the way function
parameter values are printed.

你想要:set print frame-arguments all

关于c++ - 关于 gdb 函数格式的说明,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25864113/

相关文章:

python - 遗留 GDB 脚本中堆栈跟踪的停止条件

c++ - 在 Linux 上,在 Eclipse CDT 中使用 gdb 调试 C++ 应用程序,如何向标准输入输入内容?

c - 在定时器函数中使用 GDB

c++ - 将 C++ 引用包装到 C API 中

c++ - 映射迭代器与运算符不匹配

c++ - 在 C++ 中的 += 运算符函数内调用 Operator+ 函数

c++ - Visual Studio 2015 代码分析 C6386 缓冲区溢出警告

gdb - 我可以在GDB TUI 模式下将布局方向更改为水平吗?

c++ - 如何调试 C++ python 扩展?

c++ - HMODULE 重建导入地址表 IAT 时处理错误