diff --git a/common/gdb.tex b/common/gdb.tex index edeadd6305..c3b4acb065 100644 --- a/common/gdb.tex +++ b/common/gdb.tex @@ -110,9 +110,9 @@ Add a watchpoint on a specific variable/address. \item \code{print variable = value} (\code{p variable = value})\\ Modify the content of the specified variable with a new value - \item \code{break foobar.c:42 if condition == value}\\ + \item \code{break foobar.c:42 if condition}\\ Break only if the specified condition is true - \item \code{watch if condition == value}\\ + \item \code{watch if condition}\\ Trigger the watchpoint only if the specified condition is true \item \code{display }\\ Automatically prints expression each time program stops