diff options
author | Andrew Burgess <aburgess@broadcom.com> | 2013-10-29 16:33:42 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@broadcom.com> | 2013-10-31 12:52:35 +0000 |
commit | 638aa5a1bac0c3782b6c0a40a03743507c57741e (patch) | |
tree | 7dbd4728fcbe6856725d45b85772151c7ec3dde4 /gdb/testsuite/gdb.base/watchpoints.exp | |
parent | dd0845d708ab82f931fd7b800b4d218842ed635f (diff) | |
download | gdb-638aa5a1bac0c3782b6c0a40a03743507c57741e.zip gdb-638aa5a1bac0c3782b6c0a40a03743507c57741e.tar.gz gdb-638aa5a1bac0c3782b6c0a40a03743507c57741e.tar.bz2 |
Extra error message from update_watchpoint
https://sourceware.org/ml/gdb-patches/2013-10/msg00551.html
gdb/ChangeLog
* breakpoint.c (update_watchpoint): Update error message and add
an additional error message.
gdb/testsuite/ChangeLog
* gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
tests and update expected error message.
(test_watch_register_location): New tests.
(do_tests): Call test_watch_register_location.
* gdb.base/watchpoints.exp: Update expected error message.
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoints.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/watchpoints.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoints.exp b/gdb/testsuite/gdb.base/watchpoints.exp index b70e86c..4e21d14 100644 --- a/gdb/testsuite/gdb.base/watchpoints.exp +++ b/gdb/testsuite/gdb.base/watchpoints.exp @@ -41,10 +41,10 @@ with_test_prefix "before inferior start" { # and read watchpoints require hardware watchpoint support, with this # turned off these can't be created. gdb_test "awatch ival1" \ - "Software read/access watchpoints not supported." \ + "Can't set read/access watchpoint when hardware watchpoints are disabled." \ "create access watchpoint" gdb_test "rwatch ival1" \ - "Software read/access watchpoints not supported." \ + "Can't set read/access watchpoint when hardware watchpoints are disabled." \ "create read watchpoint" } |