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: https://git.libre-soc.org/?a=commitdiff_plain;h=90142adc1d0096e71464cc6cdeb496d792ebb211;p=binutils-gdb.git * gdb.base/consecutive.exp: Don't use global in gdb_expect. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 88c5070e9c5..f3932ba05fb 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 179bfc09618..7dc77c06ddb 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"