summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2010-08-18 18:03:51 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2010-08-18 18:03:51 +0000
commit461721bf365f8e80fca4036c829c641c3a054fcc (patch)
tree95ea4747d7479bea4434cc712415558d1f675547
parent0435f77c72adbf1bdb95322e26520cd3a3cee4b1 (diff)
downloadgdb-461721bf365f8e80fca4036c829c641c3a054fcc.tar.gz
* gdb.texinfo (PowerPC Embedded): Mention support for the DVC register.
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo13
2 files changed, 17 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 393b0368196..448c4359774 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index f4bd2a69477..708a5d5bfa2 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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