diff options
author | Pedro Alves <palves@redhat.com> | 2015-08-20 20:08:48 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-08-20 20:08:48 +0100 |
commit | 0e433b32028e65f1f2f13e7c0d26061a37b7d583 (patch) | |
tree | 88c05065f7b6350bb728cf5b9c5350657a3549bf /gdb | |
parent | 221e1a37cd14f7c98b4ea1ab24bd721a8b144711 (diff) | |
download | gdb-0e433b32028e65f1f2f13e7c0d26061a37b7d583.zip gdb-0e433b32028e65f1f2f13e7c0d26061a37b7d583.tar.gz gdb-0e433b32028e65f1f2f13e7c0d26061a37b7d583.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | 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" |