diff options
author | Tom Tromey <tromey@redhat.com> | 2010-08-16 19:19:22 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-08-16 19:19:22 +0000 |
commit | 06a64a0b786b2a3b81e8caced730c43939a78684 (patch) | |
tree | 22ac5c9f0c04439265692f65f990b3de634fd685 /gdb/testsuite/gdb.base/help.exp | |
parent | 70ebf4ed1a2872d940df413696837481871a5af9 (diff) | |
download | gdb-06a64a0b786b2a3b81e8caced730c43939a78684.zip gdb-06a64a0b786b2a3b81e8caced730c43939a78684.tar.gz gdb-06a64a0b786b2a3b81e8caced730c43939a78684.tar.bz2 |
gdb
* value.c (release_value): Clear 'next' pointer.
* breakpoint.c (watch_command_1): Add 'just_location' argument.
(watch_command_wrapper): Update.
(watch_maybe_just_location): New function.
(watch_command): Update.
(rwatch_command_wrapper): Update.
(rwatch_command): Update.
(awatch_command_wrapper): Update.
(awatch_command): Update.
(check_for_argument): New function.
(_initialize_breakpoint): Update help text.
gdb/testsuite
* gdb.base/help.exp: Update.
* gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
watchpoint.
(test_watch_location): New proc.
(test_watchpoint_in_big_blob): Delete watchpoint.
* gdb.base/watchpoint.c (func5): New function.
(main): Call it.
gdb/doc
* gdb.texinfo (Set Watchpoints): Document -location option.
Diffstat (limited to 'gdb/testsuite/gdb.base/help.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/help.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/help.exp b/gdb/testsuite/gdb.base/help.exp index d270be1..6e70b9d 100644 --- a/gdb/testsuite/gdb.base/help.exp +++ b/gdb/testsuite/gdb.base/help.exp @@ -669,7 +669,7 @@ test_class_help "user-defined" { "Use the \"define\" command to define a command\.\[\r\n\]+" } # test help watch -gdb_test "help watch" "Set a watchpoint for an expression\.\[\r\n\]+A watchpoint stops execution of your program whenever the value of\[\r\n\]+an expression changes\." "help watch" +gdb_test "help watch" "Set a watchpoint for an expression\.\[\r\n\]+Usage: watch .-l.-location. EXPRESSION\[\r\n\]+A watchpoint stops execution of your program whenever the value of\[\r\n\]+an expression changes\.\[\r\n\]+If -l or -location is given, this evaluates EXPRESSION and watches\[\r\n\]+the memory to which it refers\." "help watch" # test help whatis gdb_test "help whatis" "Print data type of expression EXP\." "help whatis" # test help where |