diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-02-17 05:21:29 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-02-17 05:21:29 +0000 |
commit | 93084bcabb5f23c509734a202f5a45201b723657 (patch) | |
tree | 745f21916708b54a337cfdecbf1dee29935a3ec9 | |
parent | 946ebb0d70392191231816941cdd0a8ebd0e4e9b (diff) | |
download | gdb-93084bcabb5f23c509734a202f5a45201b723657.zip gdb-93084bcabb5f23c509734a202f5a45201b723657.tar.gz gdb-93084bcabb5f23c509734a202f5a45201b723657.tar.bz2 |
dw2-ranges.exp: simplify using clean_restart
gdb/testsuite/ChangeLog:
* gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-ranges.exp | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5af639d..e3315ad 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp index 4fa3d02..d3b8fe5 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp @@ -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 |