* gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
authorKevin Buettner <kevinb@redhat.com>
Thu, 19 Jul 2007 00:46:45 +0000 (00:46 +0000)
committerKevin Buettner <kevinb@redhat.com>
Thu, 19 Jul 2007 00:46:45 +0000 (00:46 +0000)
prior to `gdb_start'.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/ref-params.exp

index 7cede727ce9e3eaf4a970c2394c2dba61548c11d..76bf298ac7f82fb84a135ed75ff8da0e2b87f1a1 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-18  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
+       prior to `gdb_start'.
+
 2007-07-18  Kevin Buettner  <kevinb@redhat.com>
 
        * config/sid.exp (gdb_load): Add test for empty argument.  Adjust
index 52c624c924b7b9485ff32b960bd9d4ef831f9d29..9f5b806b0faf4a65859b78e99ab94bfc8c4038f3 100644 (file)
@@ -46,6 +46,7 @@ proc gdb_start_again { text } {
     global binfile
     global srcfile
 
+    gdb_exit
     gdb_start
     gdb_reinitialize_dir $srcdir/$subdir
     gdb_load ${binfile}