增加 显示结构体变量成员内容.
Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
parent
1ce4d994a6
commit
b0881a0e2f
|
@ -65,6 +65,9 @@ print [options --] [/fmt] expr
|
|||
(gdb) p <variable>
|
||||
# 修改变量的值
|
||||
(gdb) p <variable>=<value>
|
||||
# 显示结构体变量成员内容
|
||||
(gdb) p <struct obj>
|
||||
(gdb) p *<struct ptr>
|
||||
```
|
||||
|
||||
其中 options 可以为下列值:
|
||||
|
|
Loading…
Reference in New Issue