]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.texinfo (PowerPC Embedded): Mention support for the DVC register.
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Wed, 18 Aug 2010 18:03:51 +0000 (18:03 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Wed, 18 Aug 2010 18:03:51 +0000 (18:03 +0000)
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 393b036819690e36a0eb8ebaa5a69d95d65c2ae2..448c43597742593d8bb7fd52ca6d64fd6d9089c6 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-13  Doug Evans  <dje@google.com>
 
        * gdb.texinfo (.debug_gdb_scripts section): Fix typo.
index f4bd2a6947756dc19dcdd52141de6beb4e872c23..708a5d5bfa25da2694a2bc5c22ef37430c963f97 100644 (file)
@@ -18421,6 +18421,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