aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/consecutive.exp
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2008-12-15 13:04:56 +0000
committerJie Zhang <jie.zhang@analog.com>2008-12-15 13:04:56 +0000
commit90142adc1d0096e71464cc6cdeb496d792ebb211 (patch)
tree373f2284fdb61c3290a8eb717f6ae1c4e57a3cd9 /gdb/testsuite/gdb.base/consecutive.exp
parent9f3fe11c951a7f5963a1548c553a0d481299d6f5 (diff)
downloadgdb-90142adc1d0096e71464cc6cdeb496d792ebb211.zip
gdb-90142adc1d0096e71464cc6cdeb496d792ebb211.tar.gz
gdb-90142adc1d0096e71464cc6cdeb496d792ebb211.tar.bz2
* gdb.base/consecutive.exp: Don't use global in gdb_expect.
Diffstat (limited to 'gdb/testsuite/gdb.base/consecutive.exp')
-rw-r--r--gdb/testsuite/gdb.base/consecutive.exp5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/consecutive.exp b/gdb/testsuite/gdb.base/consecutive.exp
index 179bfc0..7dc77c0 100644
--- a/gdb/testsuite/gdb.base/consecutive.exp
+++ b/gdb/testsuite/gdb.base/consecutive.exp
@@ -64,11 +64,6 @@ set stop_addr 0
send_gdb "x /2i \$pc\n"
gdb_expect {
- global hex
- global nl
- global bp_addr
- global gdb_prompt
-
-re "$hex.*${nl}($hex).*$gdb_prompt $" {
set bp_addr $expect_out(1,string)
pass "get breakpoint address for foo"