diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-07-27 17:41:21 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-07-27 17:41:21 +0000 |
commit | 11081198f1cca4499b966bb023db9f1c6be38843 (patch) | |
tree | ab89d9bf916fee02c066bd023c8b6022bfcc3ec7 /gdb/testsuite/gdb.base/help.exp | |
parent | 3c6e0cb359c01c16799d3aac21e0624c8a5477b4 (diff) | |
download | fsf-binutils-gdb-11081198f1cca4499b966bb023db9f1c6be38843.zip fsf-binutils-gdb-11081198f1cca4499b966bb023db9f1c6be38843.tar.gz fsf-binutils-gdb-11081198f1cca4499b966bb023db9f1c6be38843.tar.bz2 |
gdb/
* typeprint.c (_initialize_typeprint): Extend the help of "whatis" and
"ptype" by their typedefs difference.
gdb/testsuite/
* gdb.base/help.exp (help whatis): Update the expected string.
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 0219c76..3d59edf 100644 --- a/gdb/testsuite/gdb.base/help.exp +++ b/gdb/testsuite/gdb.base/help.exp @@ -685,7 +685,7 @@ test_class_help "user-defined" { # test 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" +gdb_test "help whatis" "Print data type of expression EXP\.\r\nOnly one level .*" "help whatis" # test help where gdb_test "help where" "Print backtrace of all stack frames, or innermost COUNT frames\.\[\r\n\]+With a negative argument, print outermost -COUNT frames\.\[\r\n\]+Use of the 'full' qualifier also prints the values of the local variables\." "help where" # test help x |