mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
Tighten remote check in gdb.base/argv0-symlink.exp
Check for gdbserver instead of dejagnu remote. Unlike what the comment says, the test actually fails with target remote + gdbserver (it does pass with extended-remote). The result is: FAIL -> KFAIL with --target_board=native-gdbserver KPASS -> PASS with --target_board=native-extended-gdbserver gdb/testsuite/ChangeLog: 2017-10-12 Pedro Alves <palves@redhat.com> Simon Marchi <simon.marchi@polymtl.ca> * gdb.base/argv0-symlink.exp: kfail on remote gdbserver, instead of on dejagnu remote boards.
This commit is contained in:
parent
4e04f0450f
commit
30440677f3
@ -1,3 +1,9 @@
|
||||
2017-10-12 Pedro Alves <palves@redhat.com>
|
||||
Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
|
||||
instead of on dejagnu remote boards.
|
||||
|
||||
2017-10-12 Pedro Alves <palves@redhat.com>
|
||||
Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user