From 0e433b32028e65f1f2f13e7c0d26061a37b7d583 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 20 Aug 2015 20:08:48 +0100 Subject: [PATCH] Fix gdb.server/solib-list.exp native-extended-gdbserver regression 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 * gdb.server/solib-list.exp: No longer expect an interior stop in non-stop mode. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.server/solib-list.exp | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d2b9c6a9fd4..3ab4d748803 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-08-20 Pedro Alves + + * gdb.server/solib-list.exp: No longer expect an interior stop in + non-stop mode. + 2015-08-20 Pedro Alves * gdb.server/connect-stopped-target.c: New file. diff --git a/gdb/testsuite/gdb.server/solib-list.exp b/gdb/testsuite/gdb.server/solib-list.exp index ae6bfc60be0..0acc40cbd0d 100644 --- a/gdb/testsuite/gdb.server/solib-list.exp +++ b/gdb/testsuite/gdb.server/solib-list.exp @@ -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" -- 2.30.2