* gdb.python/py-value.exp: Use clean_restart.
authorDoug Evans <dje@google.com>
Thu, 6 Sep 2012 17:52:38 +0000 (17:52 +0000)
committerDoug Evans <dje@google.com>
Thu, 6 Sep 2012 17:52:38 +0000 (17:52 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-value.exp

index da7b1c7b5b886bb22a5620a4b27b9b96ee861e16..cf32a20b4562b8e7173c6ea5c090381fbb7c7ab4 100644 (file)
@@ -1,3 +1,7 @@
+2012-09-06  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-value.exp: Use clean_restart.
+
 2012-09-05  Doug Evans  <dje@google.com>
 
        * gdb.base/info-macros.c: Fix whitespace.
index 87b0734a27e3e195c110f704cfad377ae530449d..03dbb2c0717c13cef7423920e030d609950996db 100644 (file)
@@ -367,10 +367,7 @@ proc test_subscript_regression {exefile lang} {
  global srcdir subdir
 
  # Start with a fresh gdb.
- gdb_exit
- gdb_start
- gdb_reinitialize_dir $srcdir/$subdir
- gdb_load ${exefile}
+ clean_restart ${exefile}
 
  if ![runto_main ] then {
      perror "couldn't run to breakpoint"
@@ -467,10 +464,7 @@ build_inferior "${binfile}-cxx" "c++"
 
 # Start with a fresh gdb.
 
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+clean_restart ${binfile}
 
 # Skip all tests if Python scripting is not enabled.
 if { [skip_python_tests] } { continue }
This page took 0.039139 seconds and 4 git commands to generate.