This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed] Fix gdb.server/solib-list.exp native-extended-gdbserver regression
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 20 Aug 2015 20:20:06 +0100
- Subject: [pushed] Fix gdb.server/solib-list.exp native-extended-gdbserver regression
- Authentication-results: sourceware.org; auth=none
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 | 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 d2b9c6a..3ab4d74 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
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.
* gdb.server/connect-stopped-target.exp: New file.
diff --git a/gdb/testsuite/gdb.server/solib-list.exp b/gdb/testsuite/gdb.server/solib-list.exp
index ae6bfc6..0acc40c 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"
--
1.9.3