aboutsummaryrefslogtreecommitdiff
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
parent9f3fe11c951a7f5963a1548c553a0d481299d6f5 (diff)
downloadgdb-90142adc1d0096e71464cc6cdeb496d792ebb211.zip
gdb-90142adc1d0096e71464cc6cdeb496d792ebb211.tar.gz
gdb-90142adc1d0096e71464cc6cdeb496d792ebb211.tar.bz2
* gdb.base/consecutive.exp: Don't use global in gdb_expect.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/consecutive.exp5
2 files changed, 4 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 88c5070..f3932ba 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-15 Jie Zhang <jie.zhang@analog.com>
+
+ * gdb.base/consecutive.exp: Don't use global in gdb_expect.
+
2008-12-12 Tom Tromey <tromey@redhat.com>
* gdb.base/commands.exp (redefine_hook_test): New proc.
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"