{_M_thread = 8751184979258729844}} __for_range = <error reading variable: Cannot access memory at address 0xa00000009> __for_begin = {_M_id = {_M_thread = 1}} __for_end = {_M_id = {_M_thread = 9892260835563793713}} threads = std::vector of length 3, capacity 4 = {{_M_...
(gdb) f 0 #0 0x0000000000400749 in Func (s=0x7ffed098c19e "1") at test.cpp:8 8 r = num; (gdb) info args s = 0x7ffed098c19e "1" (gdb) info locals p = 0x0 r = @0x0: <error reading variable> num = 1 (gdb) ptype r type = int & (gdb) ptype p type = int * ...
可以看到程序崩溃的地方是在 stl_function.h 的第 235 行,然后通过bt命令(后续将详细介绍该命令)查看崩溃时的调用堆栈,进一步分析就能找到崩溃的原因。 (gdb)bt#00x00000000004ceb1finstd::less<CMsgConn*>::operator() (this=0x2283878, __x=@0x7ffca83563a0:0x2284430, __y=@0x51: <error reading var...
line=<error reading variable: Unhandled dwarf expression opcode 0xa3>, fmt=<optimized out>) at ../../cbb/elog\elog.c:576#4 0x00422506 in is_acc_on () at ../../hqam01_02_app/pmu\task_pmu.c:137#5 pmu_is_pow_on (handle=<error reading variable: Unhandled dwarf expression opcode ...
26$21 = <error reading variable: cannot access memory at address 0x4024000000000048>27(gdb) where28#0 0x00007f66aab24278 in apollo::planning::scenario::lane_follow::LaneFollowStage::PlanOnReferenceLine (this=0x22baa70, planning_start_point=..., frame=0x7f66c00470f0, reference_line_info=...
value=<error reading variable: Cannot access memory at address 0x3fec08>) at parameter_api.c:1926 1926 test_return = entity->info->op->setvalue(name, entity, type, value); 这样就可以定位到程序哪里出问题了。 方法二:借鉴客户的方法,直接编译user gdb,并放到板子当中运行 ...
type=<error reading variable: Cannot access memory at address 0x3fec04>, value=<error reading variable: Cannot access memory at address 0x3fec08>) at parameter_api.c:1926 1926 test_return = entity->info->op->setvalue(name, entity, type, value); ...
在GDB中设置字符串时,可以使用以下命令: ``` set variable<variable_name> =<string_value>" ``` 其中,`<variable_name>` 是要...
watch variable thread 1 仅编号为1的线程修改变量var值时会中断 catchpoint 从字面意思理解,是捕获断点,其主要监测信号的产生。例如c++的throw,或者加载库的时候,产生断点行为。 命令 含义 catch fork 程序调用fork时中断 tcatch fork 设置的断点只触发一次,之后被自动删除 catch syscall ptrace 为ptrace系统调用设置...
#gdb ... (gdb) help set Evaluate expression EXP and assign result to variable VAR, using assignment syntax appropriate for the current language (VAR = EXP or VAR := EXP for example). VAR may be a debugger "convenience" variable (names starting with $), a register (a few standard...