]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Enable gdb.threads/non-ldr-exc-*.exp on is_remote target boards
authorPedro Alves <palves@redhat.com>
Thu, 12 Oct 2017 17:05:33 +0000 (18:05 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 12 Oct 2017 17:05:33 +0000 (18:05 +0100)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/non-ldr-exc-1.exp
gdb/testsuite/gdb.threads/non-ldr-exc-2.exp
gdb/testsuite/gdb.threads/non-ldr-exc-3.exp
gdb/testsuite/gdb.threads/non-ldr-exc-4.exp

index 77d638b0481a7b1a05225ad00de232d6962943e6..b6cd6eec228b70692f486faff23c49bfc12e17ae 100644 (file)
@@ -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.
index 689246f7fcac9a1ec65a20d38a033098d9394d9c..558810dbf0c9e8f88c28bd3ad5f6466a9494e8aa 100644 (file)
 # 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}
 
index 1b7be2505806bb4fb1f5d7a495632d68a91b8c09..077c1921bc32ef94ec1616e0e5af54919305aecf 100644 (file)
 # 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}
 
index 74ee6a7da6e456796a004e70f790301b48136889..3c88d1d9952e23038d7ad07bc42b1053bf2f6638 100644 (file)
 # 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}
 
index f306b9d071fabffb67bb6d2c97d0329a07606e75..04e81e3712f035ca5bcd39ac70f894297ae593ce 100644 (file)
 # 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}