From: Jie Zhang Date: Mon, 15 Dec 2008 13:04:56 +0000 (+0000) Subject: * gdb.base/consecutive.exp: Don't use global in gdb_expect. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=90142adc1d0096e71464cc6cdeb496d792ebb211;p=deliverable%2Fbinutils-gdb.git * gdb.base/consecutive.exp: Don't use global in gdb_expect. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 88c5070e9c..f3932ba05f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-12-15 Jie Zhang + + * gdb.base/consecutive.exp: Don't use global in gdb_expect. + 2008-12-12 Tom Tromey * 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 179bfc0961..7dc77c06dd 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"