增加 set print pretty on.
Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
parent
b0881a0e2f
commit
0bd52b46a3
|
@ -65,7 +65,7 @@ print [options --] [/fmt] expr
|
|||
(gdb) p <variable>
|
||||
# 修改变量的值
|
||||
(gdb) p <variable>=<value>
|
||||
# 显示结构体变量成员内容
|
||||
# 显示结构体变量成员内容,使用 set print pretty on 可使结构体成员的显示更友好
|
||||
(gdb) p <struct obj>
|
||||
(gdb) p *<struct ptr>
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue