gdb/
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Wed, 30 Dec 2009 17:33:35 +0000 (17:33 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Wed, 30 Dec 2009 17:33:35 +0000 (17:33 +0000)
commit218d2fc6506ec89b6ee03af89b4f23199f9fc8e9
tree81f3c02f2cc8344f66870a074c9c5fdde8713ccb
parent236f1d4defb2070d3e43ce406604da7659860b38
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.
gdb/ChangeLog
gdb/breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint.c
gdb/testsuite/gdb.base/watchpoint.exp
gdb/valarith.c
gdb/value.h