mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* gdb.base/consecutive.exp: Don't use global in gdb_expect.
This commit is contained in:
@ -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>
|
2008-12-12 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* gdb.base/commands.exp (redefine_hook_test): New proc.
|
* gdb.base/commands.exp (redefine_hook_test): New proc.
|
||||||
|
@ -64,11 +64,6 @@ set stop_addr 0
|
|||||||
|
|
||||||
send_gdb "x /2i \$pc\n"
|
send_gdb "x /2i \$pc\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
global hex
|
|
||||||
global nl
|
|
||||||
global bp_addr
|
|
||||||
global gdb_prompt
|
|
||||||
|
|
||||||
-re "$hex.*${nl}($hex).*$gdb_prompt $" {
|
-re "$hex.*${nl}($hex).*$gdb_prompt $" {
|
||||||
set bp_addr $expect_out(1,string)
|
set bp_addr $expect_out(1,string)
|
||||||
pass "get breakpoint address for foo"
|
pass "get breakpoint address for foo"
|
||||||
|
Reference in New Issue
Block a user