关于gdb函数格式的说明

时间:2014-09-16 08:35:17

标签: 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=...究竟是什么意思?

1 个答案:

答案 0 :(得分:1)

从此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