2008-12-15 Jie Zhang * gdb.base/consecutive.exp: Don't use global in gdb_expect. Index: gdb.base/consecutive.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/consecutive.exp,v retrieving revision 1.7 diff -u -p -r1.7 consecutive.exp --- gdb.base/consecutive.exp 6 Aug 2008 12:52:07 -0000 1.7 +++ gdb.base/consecutive.exp 15 Dec 2008 05:51:49 -0000 @@ -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"