diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/reread.exp | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 38357ea..151edf7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-07-15 Pedro Alves <palves@redhat.com> + + * gdb.base/reread.exp: Use clean_restart. + 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com> * gdb.arch/avr-flash-qualifer.c: New. diff --git a/gdb/testsuite/gdb.base/reread.exp b/gdb/testsuite/gdb.base/reread.exp index 8462279..88abb17 100644 --- a/gdb/testsuite/gdb.base/reread.exp +++ b/gdb/testsuite/gdb.base/reread.exp @@ -120,9 +120,7 @@ if [is_remote target] { gdb_rename_execfile ${binfile1} ${binfile} # Restart GDB entirely. - gdb_start - gdb_reinitialize_dir $srcdir/$subdir - gdb_load ${binfile} + clean_restart ${binfile} # Set a breakpoint on foo and run to it. gdb_test "break foo" \ |