(test_subscript_regression): Remove no longer necessary globals,
authorDoug Evans <dje@google.com>
Thu, 6 Sep 2012 17:57:41 +0000 (17:57 +0000)
committerDoug Evans <dje@google.com>
Thu, 6 Sep 2012 17:57:41 +0000 (17:57 +0000)
from previous patch.

gdb/testsuite/gdb.python/py-value.exp

index 03dbb2c..3ece588 100644 (file)
@@ -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.