diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/checkpoint.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/checkpoint.exp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/checkpoint.exp b/gdb/testsuite/gdb.base/checkpoint.exp index 6d94ab6..4a476be 100644 --- a/gdb/testsuite/gdb.base/checkpoint.exp +++ b/gdb/testsuite/gdb.base/checkpoint.exp @@ -24,8 +24,10 @@ if {![istarget "*-*-linux*"]} then { continue } - -standard_testfile .c +# Must name the source file explicitly, otherwise when driven by +# checkpoints-ns.exp, we'd try compiling checkpoints-ns.c, which +# doesn't exist. +standard_testfile checkpoint.c set pi_txt [gdb_remote_download host ${srcdir}/${subdir}/pi.txt] if {[is_remote host]} { |