summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-10-12 18:05:33 +0100
committerPedro Alves <palves@redhat.com>2017-10-12 18:05:33 +0100
commit871a186e41aeb7f966c6570b8f1659aec9d2c15d (patch)
treebda5cf391a62c4a50dd7c28df1f0280ce3409ecb /gdb/testsuite/gdb.threads
parent6c19b93bcd0d136f7be4d1e1e3f2e8d7b5917009 (diff)
downloadbinutils-gdb-871a186e41aeb7f966c6570b8f1659aec9d2c15d.tar.gz
Enable gdb.threads/non-ldr-exc-*.exp on is_remote target boards
This commit makes the gdb.threads/non-ldr-exc-*.exp tests run (and pass) with --target_board=native-gdbserver. (These tests were already running with --target_board=native-extended-gdbserver, because that board is not is_remote.) The "No exec event support in the remote protocol." comment is stale. It's actually supported. gdb/ChangeLog: 2017-10-12 Pedro Alves <palves@redhat.com> * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target. * gdb.threads/non-ldr-exc-2.exp: Ditto. * gdb.threads/non-ldr-exc-3.exp: Ditto. * gdb.threads/non-ldr-exc-4.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/non-ldr-exc-1.exp5
-rw-r--r--gdb/testsuite/gdb.threads/non-ldr-exc-2.exp5
-rw-r--r--gdb/testsuite/gdb.threads/non-ldr-exc-3.exp5
-rw-r--r--gdb/testsuite/gdb.threads/non-ldr-exc-4.exp5
4 files changed, 0 insertions, 20 deletions
diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp
index 689246f7fca..558810dbf0c 100644
--- a/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp
+++ b/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp
@@ -16,11 +16,6 @@
# Test that when a thread other than the main thread execs, we follow
# through to the new incarnation of the main thread.
-# No exec event support in the remote protocol.
-if { [is_remote target] } then {
- continue
-}
-
standard_testfile
set executable ${testfile}
diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-2.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-2.exp
index 1b7be250580..077c1921bc3 100644
--- a/gdb/testsuite/gdb.threads/non-ldr-exc-2.exp
+++ b/gdb/testsuite/gdb.threads/non-ldr-exc-2.exp
@@ -17,11 +17,6 @@
# through to the new incarnation of the main thread, even if the main
# thread had already exited before the exec.
-# No exec event support in the remote protocol.
-if { [is_remote target] } then {
- continue
-}
-
standard_testfile
set executable ${testfile}
diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-3.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-3.exp
index 74ee6a7da6e..3c88d1d9952 100644
--- a/gdb/testsuite/gdb.threads/non-ldr-exc-3.exp
+++ b/gdb/testsuite/gdb.threads/non-ldr-exc-3.exp
@@ -19,11 +19,6 @@
# non-ldr-exc-2.exp in that we have more than two threads in the
# program when the exec happens.
-# No exec event support in the remote protocol.
-if { [is_remote target] } then {
- continue
-}
-
standard_testfile
set executable ${testfile}
diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-4.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-4.exp
index f306b9d071f..04e81e3712f 100644
--- a/gdb/testsuite/gdb.threads/non-ldr-exc-4.exp
+++ b/gdb/testsuite/gdb.threads/non-ldr-exc-4.exp
@@ -18,11 +18,6 @@
# from non-ldr-exc-1.exp in that we have more than two threads in the
# program when the exec happens.
-# No exec event support in the remote protocol.
-if { [is_remote target] } then {
- continue
-}
-
standard_testfile
set executable ${testfile}