* gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / fission-base.exp
index 2bd274828e1ef155547b3861de61d664a1593792..f6ca7cafe79d3f377dfee1c6cd0498a9eac1e133 100644 (file)
@@ -29,20 +29,10 @@ set basename "fission-base"
 
 standard_testfile .S
 
-# IWBN to use prepare_for_testing here, but we need to set debug-file-directory
-# before we load the binary.
-
-if { [build_executable "$testfile.exp" "$testfile" "$srcfile" {nodebug}] } {
+if { [prepare_for_testing "$testfile.exp" "$testfile" "$srcfile" {nodebug}] } {
     return -1
 }
 
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-# Set debug-file-directory so we find the dwo file.
-gdb_test_no_output "set debug-file-directory $subdir"
-gdb_load [standard_output_file $testfile]
-
 if ![runto_main] {
     return -1
 }
This page took 0.023531 seconds and 4 git commands to generate.