* gdb.base/help.exp: Update expected output.

This commit is contained in:
Doug Evans 2012-08-13 21:14:48 +00:00
parent 9b11fa1a85
commit e202d6e802
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
2012-08-13 Doug Evans <dje@google.com> 2012-08-13 Doug Evans <dje@google.com>
* gdb.base/help.exp: Update expected output.
* gdb.base/default.exp: Update expected output of "show convenience". * gdb.base/default.exp: Update expected output of "show convenience".
2012-08-10 Doug Evans <dje@google.com> 2012-08-10 Doug Evans <dje@google.com>

View file

@ -506,7 +506,7 @@ gdb_test "help show complaints" "Show max number of complaints about incorrect s
# test help show confirm # test help show confirm
gdb_test "help show confirm" "Show whether to confirm potentially dangerous operations\." "help show confirm" gdb_test "help show confirm" "Show whether to confirm potentially dangerous operations\." "help show confirm"
# test help show convenience # test help show convenience
gdb_test "help show convenience" "Debugger convenience \\(\"\\\$foo\"\\) variables\.\[\r\n\]+These variables are created when you assign them values;\[\r\n\]+thus, \"print \\\$foo=1\" gives \"\\\$foo\" the value 1\. Values may be any type\.\[\r\n\]+A few convenience variables are given values automatically:\[\r\n\]+\"\\\$_\"holds the last address examined with \"x\" or \"info lines\",\[\r\n\]+\"\\\$__\" holds the contents of the last address examined with \"x\"\." "help show convenience" gdb_test "help show convenience" "Debugger convenience \\(\"\\\$foo\"\\) variables and functions\.\[\r\n\]+Convenience variables are created when you assign them values;\[\r\n\]+thus, \"set \\\$foo=1\" gives \"\\\$foo\" the value 1\. Values may be any type\.\[\r\n\]+A few convenience variables are given values automatically:\[\r\n\]+\"\\\$_\"holds the last address examined with \"x\" or \"info lines\",\[\r\n\]+\"\\\$__\" holds the contents of the last address examined with \"x\"\.\[\r\n\]+Convenience functions are defined via the Python API\." "help show convenience"
# test help show directories # test help show directories
gdb_test "help show directories" "Show the search path for finding source files\.\[\r\n\]+\\\$cwd in the path means the current working directory\.\[\r\n\]+\\\$cdir in the path means the compilation directory of the source file\..*" "help show directories" gdb_test "help show directories" "Show the search path for finding source files\.\[\r\n\]+\\\$cwd in the path means the current working directory\.\[\r\n\]+\\\$cdir in the path means the compilation directory of the source file\..*" "help show directories"
# test help show editing # test help show editing