* gdb.texinfo (PowerPC Embedded): Mention support for the DVC register.
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Wed, 18 Aug 2010 17:58:48 +0000 (17:58 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Wed, 18 Aug 2010 17:58:48 +0000 (17:58 +0000)
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 36099c25a012818e9a26267b52f70b856ea49396..f5ae1282f8bc3ffb2bc070c368e19b72017e96c0 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * gdb.texinfo (PowerPC Embedded): Mention support for the DVC register.
+
 2010-08-16   Tom Tromey  <tromey@redhat.com>
 
        * gdb.texinfo (Set Watchpoints): Document -location option.
index fa50761ffabf6070043bf930327db1a51acc1f7c..f493d595b68f8c04d3600722ee26df8bea7777dd 100644 (file)
@@ -18472,6 +18472,19 @@ Set suspend trace mode.
 @node PowerPC Embedded
 @subsection PowerPC Embedded
 
+@cindex DVC register
+@value{GDBN} supports using the DVC (Data Value Compare) register to
+implement in hardware simple hardware watchpoint conditions of the form:
+
+@smallexample
+(@value{GDBP}) watch @var{ADDRESS|VARIABLE} \
+  if  @var{ADDRESS|VARIABLE} == @var{CONSTANT EXPRESSION}
+@end smallexample
+
+The DVC register will be automatically used whenever @value{GDBN} detects
+such pattern in a condition expression.  This feature is available in native
+@value{GDBN} running on a Linux kernel version 2.6.34 or newer.
+
 @value{GDBN} provides the following PowerPC-specific commands:
 
 @table @code