增加 显示结构体变量成员内容.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-08-25 13:58:33 +08:00
parent 1ce4d994a6
commit b0881a0e2f
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ print [options --] [/fmt] expr
(gdb) p <variable>
# 修改变量的值
(gdb) p <variable>=<value>
# 显示结构体变量成员内容
(gdb) p <struct obj>
(gdb) p *<struct ptr>
```
其中 options 可以为下列值: