gdb/testsuite/

* gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
This commit is contained in:
Jan Kratochvil 2011-11-03 17:43:51 +00:00
parent c35599f82f
commit 87769f591c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
2011-11-02 Stan Shebs <stan@codesourcery.com>
* gdb.trace/collection.c: Add code using strings.

View File

@ -741,7 +741,7 @@ proc error_clears_commands_left {} {
gdb_test_no_output "end" "main commands 2c"
gdb_run_cmd
gdb_test "" "\r\nhook-stop1\r\n.*\r\ncmd1\r\nUndefined command: \"errorcommandxy\"\\. Try \"help\"\\." "cmd1 error"
gdb_test "" "hook-stop1\r\n.*\r\ncmd1\r\nUndefined command: \"errorcommandxy\"\\. Try \"help\"\\." "cmd1 error"
gdb_test {echo idle\n} "\r\nidle" "no cmd2"
}