我想问一问,为什么结构体a的指针变量的地址不能被GDB打印出来??
(gdb) p &next
Can't take address of "next" which isn't an lvalue.
(gdb) p *next
value has been optimized out
(gdb) p &next
Can't take address of "next" which isn't an lvalue.
(gdb) p *next
value has been optimized out
2016-10-04
举报