diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-01-12 06:17:40 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-01-12 06:17:40 +0000 |
commit | 4a9758edbcbd646774ce815a1d3f981af43719cd (patch) | |
tree | 2ef0767477bc4e625826c2d2913e75e40125e274 /gdb/testsuite/gdb.base/commands.exp | |
parent | cc38364d44b1b7c99fed9f97a66b7e3f62663021 (diff) | |
download | gdb-4a9758edbcbd646774ce815a1d3f981af43719cd.zip gdb-4a9758edbcbd646774ce815a1d3f981af43719cd.tar.gz gdb-4a9758edbcbd646774ce815a1d3f981af43719cd.tar.bz2 |
* gdb.base/help.exp: Don't test "help show".
Diffstat (limited to 'gdb/testsuite/gdb.base/commands.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/commands.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/commands.exp b/gdb/testsuite/gdb.base/commands.exp index 6e78f6e..bef2468 100644 --- a/gdb/testsuite/gdb.base/commands.exp +++ b/gdb/testsuite/gdb.base/commands.exp @@ -34,6 +34,8 @@ if ![file exists $objdir/$subdir/$binfile] then { return 0 } +gdb_exit +gdb_start delete_breakpoints gdb_reinitialize_dir $srcdir/$subdir gdb_load $objdir/$subdir/$binfile @@ -107,7 +109,7 @@ proc if_while_breakpoint_command_test {} { default { fail "(timeout or eof) commands" } } # This test should alternate between 0xdeadbeef and 0xfeedface two times. - gdb_test "while value > 0\\nset value -= 1\\nif \(value % 2\) == 1\\np/x 0xdeadbeef\\nelse\\np/x 0xfeedface\\nend\\nend\\nend\\n" ".*$prompt.*" "commands" + gdb_test "while value > 0\\nset value -= 1\\nif \(value % 2\) == 1\\np/x 0xdeadbeef\\nelse\\np/x 0xfeedface\\nend\\nend\\nend\\n" "" "commands" gdb_test "continue" "\\\$\[0-9\]* = 0xdeadbeef\[^\n\]*\n\\\$\[0-9\]* = 0xfeedface\[^\n\]*\n\\\$\[0-9\]* = 0xdeadbeef\[^\n\]*\n\\\$\[0-9\]* = 0xfeedface" "if_while_breakpoint_command_test #1" gdb_test "info break" "while.*set.*if.*p/x.*else.*p/x.*end.*" "info break" } |