This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix gdb.server/solib-list.exp native-extended-gdbserver regression
- From: Pedro Alves <palves at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 20 Aug 2015 19:19:52 -0000
- Subject: [binutils-gdb] Fix gdb.server/solib-list.exp native-extended-gdbserver regression
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e433b32028e65f1f2f13e7c0d26061a37b7d583
commit 0e433b32028e65f1f2f13e7c0d26061a37b7d583
Author: Pedro Alves <palves@redhat.com>
Date: Thu Aug 20 20:08:48 2015 +0100
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 <palves@redhat.com>
* gdb.server/solib-list.exp: No longer expect an interior stop in
non-stop mode.
Diff:
---
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"