From 8bcbad33671aa67a0079fe4f8f448458de8cc05f Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 18 Jan 2016 11:56:41 -0500 Subject: 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. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/lib/gdb.exp | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'gdb/testsuite') 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 + + * lib/gdb.exp (gdb_test): Remove unused global references. + 2016-01-18 Pedro Alves * 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 { -- cgit v1.1