This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit #2] gdb.python/py-value.exp: Use clean_restart.


Whoops.  My previous cleanup was incomplete.
I also checked this in.

diff -u -p -r1.30 py-value.exp
--- gdb.python/py-value.exp	6 Sep 2012 17:52:38 -0000	1.30
+++ gdb.python/py-value.exp	6 Sep 2012 17:56:48 -0000
@@ -363,9 +363,6 @@ proc test_value_after_death {} {
 # subscript operation to proceed.
 
 proc test_subscript_regression {exefile lang} {
-
- global srcdir subdir
-
  # Start with a fresh gdb.
  clean_restart ${exefile}
 
@@ -463,7 +460,6 @@ build_inferior "${binfile}" "c"
 build_inferior "${binfile}-cxx" "c++"
 
 # Start with a fresh gdb.
-
 clean_restart ${binfile}
 
 # Skip all tests if Python scripting is not enabled.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]