diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-08-18 17:58:48 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-08-18 17:58:48 +0000 |
commit | 66b73624e86af015d447b3653a45593bb5f733ae (patch) | |
tree | 1470ccf9243e7b40d5bdab5fab90ceed1fffd677 | |
parent | f1208f9e0a164d55b91416876a5881321d3851b7 (diff) | |
download | gdb-66b73624e86af015d447b3653a45593bb5f733ae.zip gdb-66b73624e86af015d447b3653a45593bb5f733ae.tar.gz gdb-66b73624e86af015d447b3653a45593bb5f733ae.tar.bz2 |
* gdb.texinfo (PowerPC Embedded): Mention support for the DVC register.
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 36099c2..f5ae128 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-16 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Set Watchpoints): Document -location option. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index fa50761..f493d59 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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 |