From 87769f591c1a0213ee3b05cdaad124ef3986c5f6 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 3 Nov 2011 17:43:51 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/commands.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 01c7705ec52..a994ddd12e7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-11-03 Jan Kratochvil + + * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver. + 2011-11-02 Stan Shebs * gdb.trace/collection.c: Add code using strings. diff --git a/gdb/testsuite/gdb.base/commands.exp b/gdb/testsuite/gdb.base/commands.exp index 2c579869718..b4b14b58e9b 100644 --- a/gdb/testsuite/gdb.base/commands.exp +++ b/gdb/testsuite/gdb.base/commands.exp @@ -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" } -- 2.39.2