From b0881a0e2f20fe0271a96f98ef5d644fe937510c Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Tue, 25 Aug 2020 13:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=BB=93=E6=9E=84=E4=BD=93=E5=8F=98=E9=87=8F=E6=88=90=E5=91=98?= =?UTF-8?q?=E5=86=85=E5=AE=B9.?= 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Software/Applications/GDB/GDB_的使用.md b/Software/Applications/GDB/GDB_的使用.md index d27d52c..eaf4c41 100644 --- a/Software/Applications/GDB/GDB_的使用.md +++ b/Software/Applications/GDB/GDB_的使用.md @@ -65,6 +65,9 @@ print [options --] [/fmt] expr (gdb) p # 修改变量的值 (gdb) p = +# 显示结构体变量成员内容 +(gdb) p +(gdb) p * ``` 其中 options 可以为下列值: