mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
Skip gdb.threads/thread_events.exp on RSP targets properly
Fixes, with --target_board=native-extended-gdbserver: Running ..../src/gdb/testsuite/gdb.threads/thread_events.exp ... FAIL: gdb.threads/thread_events.exp: continue to after_join_func with messages enabled (saw 0, expected 1) gdb/testsuite/ChangeLog: 2017-10-13 Pedro Alves <palves@redhat.com> * gdb.threads/thread_events.exp: Check gdb_protocol instead of is_remote.
This commit is contained in:
parent
df479dc6e0
commit
d7bcd5b8e5
@ -1,3 +1,8 @@
|
||||
2017-10-13 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.threads/thread_events.exp: Check gdb_protocol instead of
|
||||
is_remote.
|
||||
|
||||
2017-10-13 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
|
||||
|
@ -27,9 +27,10 @@ if ![istarget *-*-linux*] then {
|
||||
return
|
||||
}
|
||||
|
||||
# When using gdbserver, even on Linux, we don't get notifications
|
||||
# about new threads. This is expected, so don't test for that.
|
||||
if [is_remote target] then {
|
||||
# When using the RSP, we don't get notifications about new threads.
|
||||
# This is expected, so don't test for that.
|
||||
if {[target_info gdb_protocol] == "remote"
|
||||
|| [target_info gdb_protocol] == "extended-remote"} {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user