summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/catch-load.exp
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-02-27 14:27:09 +0100
committerTom de Vries <tdevries@suse.de>2020-02-27 14:27:09 +0100
commit3608f86c427a907335eb96b8dd6d6d2071d6f4a1 (patch)
treedc8a3b9b68aad6ba66727a224f5f76fdec3b8961 /gdb/testsuite/gdb.base/catch-load.exp
parentc8d4f6dfd9264d6ab5d14c2dde3628cc1e7dd75f (diff)
downloadbinutils-gdb-3608f86c427a907335eb96b8dd6d6d2071d6f4a1.tar.gz
[gdb/testsuite] Remove unused globals
Remove unused global variable declarations. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-02-27 Tom de Vries <tdevries@suse.de> * config/sid.exp: Remove unused globals. * gdb.base/attach.exp: Same. * gdb.base/catch-load.exp: Same. * gdb.base/dbx.exp: Same. * lib/gdb.exp: Same. * lib/mi-support.exp: Same. * lib/prompt.exp: Same.
Diffstat (limited to 'gdb/testsuite/gdb.base/catch-load.exp')
-rw-r--r--gdb/testsuite/gdb.base/catch-load.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/catch-load.exp b/gdb/testsuite/gdb.base/catch-load.exp
index 62b43c801dd..17389e53b85 100644
--- a/gdb/testsuite/gdb.base/catch-load.exp
+++ b/gdb/testsuite/gdb.base/catch-load.exp
@@ -46,8 +46,7 @@ if { [gdb_compile_shlib "${srcdir}/${subdir}/${srcfile2}" ${binfile2} {debug}] !
# MATCH is a boolean saying whether we expect the catchpoint to be hit.
proc one_catch_load_test {scenario kind match sostop} {
with_test_prefix "${scenario}" {
- global verbose testfile testfile2 binfile2 binfile2_dlopen
- global srcfile
+ global testfile testfile2 binfile2 binfile2_dlopen
global decimal gdb_prompt
clean_restart $testfile