From: Pedro Alves Date: Thu, 12 Oct 2017 17:05:33 +0000 (+0100) Subject: Enable gdb.threads/non-ldr-exc-*.exp on is_remote target boards X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=871a186e41aeb7f966c6570b8f1659aec9d2c15d;p=binutils-gdb.git 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 * 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 --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 77d638b0481..b6cd6eec228 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2017-10-12 Pedro Alves + + * 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 * 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 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}