testsuite: Remove unused global references in gdb_test
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 18 Jan 2016 16:56:41 +0000 (11:56 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 18 Jan 2016 16:56:41 +0000 (11:56 -0500)
Those are unused since gdb_test_multiple was added, factoring out most
of the content of gdb_test.

gdb/testsuite/ChangeLog:

* lib/gdb.exp (gdb_test): Remove unused global references.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 627db4694c5ccf508721045bd1ecf615071898ab..8b39bb3b062a91e1c7062e9623dfb13084fa807f 100644 (file)
@@ -1,3 +1,7 @@
+2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (gdb_test): Remove unused global references.
+
 2016-01-18  Pedro Alves  <palves@redhat.com>
 
        * gdb.base/async-shell.exp: Adjust expected output.
index 52220d0f08573f4950fb7bfe17024bb4ba2d4496..e6fe62c8f01f146a4a250d5a1d16eb1530135afa 100644 (file)
@@ -976,9 +976,7 @@ proc gdb_test_multiple { command message user_code } {
 #   -1 if there was an internal error.
 #  
 proc gdb_test { args } {
-    global verbose
     global gdb_prompt
-    global GDB
     upvar timeout timeout
 
     if [llength $args]>2 then {
This page took 0.034147 seconds and 4 git commands to generate.