aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2009-12-30 17:33:35 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2009-12-30 17:33:35 +0000
commit218d2fc6506ec89b6ee03af89b4f23199f9fc8e9 (patch)
tree81f3c02f2cc8344f66870a074c9c5fdde8713ccb /gdb/value.h
parent236f1d4defb2070d3e43ce406604da7659860b38 (diff)
downloadgdb-218d2fc6506ec89b6ee03af89b4f23199f9fc8e9.zip
gdb-218d2fc6506ec89b6ee03af89b4f23199f9fc8e9.tar.gz
gdb-218d2fc6506ec89b6ee03af89b4f23199f9fc8e9.tar.bz2
gdb/
* valarith.c (value_equal_contents): New function. * value.h (value_equal_contents): Declare. * breakpoint.c (watchpoint_check): Use value_equal_contents instead of value_equal. gdb/testsuite/ * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function. (top level): Call test_watchpoint_in_big_blob. * gdb.base/watchpoint.c (buf): Change size to value too big for hardware watchpoints. (func3): Write to buf.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 993f05b..c0acccd 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -563,6 +563,8 @@ extern struct internalvar *lookup_internalvar (const char *name);
extern int value_equal (struct value *arg1, struct value *arg2);
+extern int value_equal_contents (struct value *arg1, struct value *arg2);
+
extern int value_less (struct value *arg1, struct value *arg2);
extern int value_logical_not (struct value *arg1);