Fix gdb.server/solib-list.exp native-extended-gdbserver regression
authorPedro Alves <palves@redhat.com>
Thu, 20 Aug 2015 19:08:48 +0000 (20:08 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 20 Aug 2015 19:08:48 +0000 (20:08 +0100)
Commit 221e1a37 (remote non-stop: Process initially stopped threads
before other commands) caused a test regression when testing with the
native-extended-gdbserver board:

  FAIL: gdb.server/solib-list.exp: non-stop 1: non-stop interior stop (timeout)

This "interior stop" now happens before "target remote" prints the
prompt, so we should no longer explicitly expect it.

gdb/testsuite/ChangeLog:
2015-08-20  Pedro Alves  <palves@redhat.com>

* gdb.server/solib-list.exp: No longer expect an interior stop in
non-stop mode.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/solib-list.exp

index d2b9c6a9fd44514c255b077260f51144a528c7eb..3ab4d7488036cbb848311974ae64e3774c24124d 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/solib-list.exp: No longer expect an interior stop in
+       non-stop mode.
+
 2015-08-20  Pedro Alves  <palves@redhat.com>
 
        * gdb.server/connect-stopped-target.c: New file.
index ae6bfc60be09e6db11027ee6164173a74992b320..0acc40cbd0dad4d146d12619df0df2d60ae086e7 100644 (file)
@@ -92,15 +92,6 @@ foreach nonstop { 0 1 } { with_test_prefix "non-stop $nonstop" {
        }
     }
 
-    if $nonstop {
-       set test "non-stop interior stop"
-       gdb_test_multiple "" $test {
-           -re " #1 stopped\\.\r\n" {
-               pass $test
-           }
-       }
-    }
-
     gdb_test "continue" "Program received signal SIGUSR1, .*"
     gdb_test "sharedlibrary" ".*"
     gdb_test "p libvar" " = 23"