From ab4d439c6304b959ec2c8913c3d76c63d9b46529 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Tue, 27 Feb 2018 00:18:28 +0800 Subject: [PATCH] update typo --- tools/gdb.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gdb.txt b/tools/gdb.txt index 2b90b25..8e6930e 100644 --- a/tools/gdb.txt +++ b/tools/gdb.txt @@ -52,7 +52,7 @@ tbreak function|line # 临时断点 ignore {id} {count} # 忽略某断点 N-1 次 condition {id} {expr} # 条件断点,只有在条件生效时才发生 condition 2 i == 20 # 2号断点只有在 i == 20 条件为真时才生效 -watch {expr} # 对变量设置观察点 +watch {expr} # 对变量设置监视点 info watchpoints # 显示所有观察点