aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-11-03 17:43:51 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-11-03 17:43:51 +0000
commit87769f591c1a0213ee3b05cdaad124ef3986c5f6 (patch)
treec86f16ed168c6a8afc423098635c8bf33482e51a
parentc35599f82f183cb4b25c2ccbd154c5dbb9232209 (diff)
downloadbinutils-87769f591c1a0213ee3b05cdaad124ef3986c5f6.zip
binutils-87769f591c1a0213ee3b05cdaad124ef3986c5f6.tar.gz
binutils-87769f591c1a0213ee3b05cdaad124ef3986c5f6.tar.bz2
gdb/testsuite/
* gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/commands.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 01c7705..a994ddd 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/commands.exp b/gdb/testsuite/gdb.base/commands.exp
index 2c57986..b4b14b5 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"
}