diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/foll-vfork.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/foll-vfork.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/foll-vfork.exp b/gdb/testsuite/gdb.base/foll-vfork.exp index 13b8c35..80b813d 100644 --- a/gdb/testsuite/gdb.base/foll-vfork.exp +++ b/gdb/testsuite/gdb.base/foll-vfork.exp @@ -70,7 +70,7 @@ proc check_vfork_catchpoints {} { # Because setup_gdb uses 'return -code return' which would return to # our caller we need to wrap this call, spot when setup_gdb failed # (with return code 2), and then issue our own 'return -code return'. - set code [catch {setup_gdb $::testfile $::srcfile} string] + set code [catch {setup_gdb $::binfile $::srcfile} string] if { $code == 2 } { unsupported "vfork catchpoints" return -code return |