From 0bd52b46a3d052adca4da0fae072233053704604 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Tue, 25 Aug 2020 14:00:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20set=20print=20pretty=20on.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- Software/Applications/GDB/GDB_的使用.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/Applications/GDB/GDB_的使用.md b/Software/Applications/GDB/GDB_的使用.md index eaf4c41..a0207db 100644 --- a/Software/Applications/GDB/GDB_的使用.md +++ b/Software/Applications/GDB/GDB_的使用.md @@ -65,7 +65,7 @@ print [options --] [/fmt] expr (gdb) p # 修改变量的值 (gdb) p = -# 显示结构体变量成员内容 +# 显示结构体变量成员内容,使用 set print pretty on 可使结构体成员的显示更友好 (gdb) p (gdb) p * ```