This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Enable gdb.threads/non-ldr-exc-*.exp on is_remote target boards


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=871a186e41aeb7f966c6570b8f1659aec9d2c15d

commit 871a186e41aeb7f966c6570b8f1659aec9d2c15d
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Oct 12 18:05:33 2017 +0100

    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.

Diff:
---
 gdb/testsuite/ChangeLog                     | 7 +++++++
 gdb/testsuite/gdb.threads/non-ldr-exc-1.exp | 5 -----
 gdb/testsuite/gdb.threads/non-ldr-exc-2.exp | 5 -----
 gdb/testsuite/gdb.threads/non-ldr-exc-3.exp | 5 -----
 gdb/testsuite/gdb.threads/non-ldr-exc-4.exp | 5 -----
 5 files changed, 7 insertions(+), 20 deletions(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 77d638b..b6cd6ee 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
 
 	* gdb.arch/arc-tdesc-cpu.exp: New file.
diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp
index 689246f..558810d 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 1b7be25..077c192 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 74ee6a7..3c88d1d 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 f306b9d..04e81e3 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}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]