aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-01-18 11:56:41 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2016-01-18 11:56:41 -0500
commit8bcbad33671aa67a0079fe4f8f448458de8cc05f (patch)
tree0da05755f6e5d01cd5c9d67b45fa775e3d12089c
parent9ae678af999b8a692c4e6efbe493f39f0085d149 (diff)
downloadgdb-8bcbad33671aa67a0079fe4f8f448458de8cc05f.zip
gdb-8bcbad33671aa67a0079fe4f8f448458de8cc05f.tar.gz
gdb-8bcbad33671aa67a0079fe4f8f448458de8cc05f.tar.bz2
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.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/gdb.exp2
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 {