This is the mail archive of the gdb-cvs@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]

[binutils-gdb] testsuite: Remove unused global references in gdb_test


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8bcbad33671aa67a0079fe4f8f448458de8cc05f

commit 8bcbad33671aa67a0079fe4f8f448458de8cc05f
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Mon Jan 18 11:56:41 2016 -0500

    testsuite: Remove unused global references in gdb_test
    
    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.

Diff:
---
 gdb/testsuite/ChangeLog   | 4 ++++
 gdb/testsuite/lib/gdb.exp | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 627db46..8b39bb3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 52220d0..e6fe62c 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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 {


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