dw2-ranges.exp: simplify using clean_restart

gdb/testsuite/ChangeLog:

        * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
This commit is contained in:
Joel Brobecker
2011-02-17 05:21:29 +00:00
parent 946ebb0d70
commit 93084bcabb
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2011-02-17 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2011-02-16 Pedro Alves <pedro@codesourcery.com>
* collection.c (globalarr3): New global.

View File

@ -45,10 +45,7 @@ if {[gdb_compile "${objfile} ${objfile2} ${objfile3}" "${binfile}" executable {}
return -1
}
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
clean_restart ${testfile}
# Test also objfile->psymtabs_addrmap relocations for -fPIE -pie builds below.
# On some targets it may possibly fail but the program is being started only