diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/consecutive.exp | 5 |
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" |