summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/argv0-symlink.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/argv0-symlink.exp')
-rw-r--r--gdb/testsuite/gdb.base/argv0-symlink.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/argv0-symlink.exp b/gdb/testsuite/gdb.base/argv0-symlink.exp
index a1248edbe00..efac9e0029c 100644
--- a/gdb/testsuite/gdb.base/argv0-symlink.exp
+++ b/gdb/testsuite/gdb.base/argv0-symlink.exp
@@ -80,8 +80,9 @@ gdb_test_no_output "set print repeats 10000"
gdb_test_no_output "set print elements 10000"
if { $has_argv0 } {
- # gdbserver does not have this issue.
- if ![is_remote target] {
+ # gdbserver in extended-remote mode does not have this issue.
+ # Plain remote does, however.
+ if {[target_info gdb_protocol] != "extended-remote" || ![target_is_gdbserver]} {
setup_kfail "*-*-*" gdb/15934
}
gdb_test {print argv[0]} "/$dirlink/$filelink\"" $test