]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 3 Nov 2011 17:43:51 +0000 (17:43 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 3 Nov 2011 17:43:51 +0000 (17:43 +0000)
* gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/commands.exp

index 01c7705ec528c15e1e90182153d7278cadd09153..a994ddd12e707634408c376d1e6dcfa0dd540e42 100644 (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.
index 2c579869718e3151e04f88bdf1c98e6b6e094399..b4b14b58e9bcf0933d24316af6cbf848816e257f 100644 (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"
 }