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.
This commit is contained in:
Simon Marchi 2016-01-18 11:56:41 -05:00
parent 9ae678af99
commit 8bcbad3367
2 changed files with 4 additions and 2 deletions

View 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.

View 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 {