aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-10-13 12:27:49 +0100
committerPedro Alves <palves@redhat.com>2017-10-13 12:29:49 +0100
commit8d6ef72b0470dfb1133525c8c4556d3578744ac4 (patch)
tree37532b14ddeaaf53fe418aa7d06e67e9ab1fdde0 /gdb
parentd7bcd5b8e55c54543389196fd18453db6961e314 (diff)
downloadgdb-8d6ef72b0470dfb1133525c8c4556d3578744ac4.zip
gdb-8d6ef72b0470dfb1133525c8c4556d3578744ac4.tar.gz
gdb-8d6ef72b0470dfb1133525c8c4556d3578744ac4.tar.bz2
kfail gdb.python/py-evsignal.exp on RSP targets properly
Fixes, with --target_board=native-extended-gdbserver: Running ..../src/gdb/testsuite/gdb.python/py-evsignal.exp ... FAIL: gdb.python/py-evsignal.exp: signal Thread 3 gdb/testsuite/ChangeLog: 2017-10-13 Pedro Alves <palves@redhat.com> * gdb.python/py-evsignal.exp: Check gdb_protocol instead of is_remote.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-evsignal.exp3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6296e10..4c01102 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2017-10-13 Pedro Alves <palves@redhat.com>
+ * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
+ is_remote.
+
+2017-10-13 Pedro Alves <palves@redhat.com>
+
* gdb.threads/thread_events.exp: Check gdb_protocol instead of
is_remote.
diff --git a/gdb/testsuite/gdb.python/py-evsignal.exp b/gdb/testsuite/gdb.python/py-evsignal.exp
index 8a39f4e..4138b9c 100644
--- a/gdb/testsuite/gdb.python/py-evsignal.exp
+++ b/gdb/testsuite/gdb.python/py-evsignal.exp
@@ -13,7 +13,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if {[is_remote target]} {
+if {[target_info gdb_protocol] == "remote"
+ || [target_info gdb_protocol] == "extended-remote"} {
# RuntimeError: Could not find event thread
kfail "python/12966" "Signal Thread 3"
return -1