From: Pedro Alves Date: Thu, 20 Aug 2015 19:08:48 +0000 (+0100) Subject: Fix gdb.server/solib-list.exp native-extended-gdbserver regression X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e433b32028e65f1f2f13e7c0d26061a37b7d583;p=binutils-gdb.git 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. --- 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"