diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-08-19 01:23:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-08-19 01:23:43 +0000 |
commit | fe766f112c8557ba0cc8c33a236b9078cca07d90 (patch) | |
tree | a020322648b6049e123d606bd00b96af42f7d38f /gdb/testsuite/gdb.mi/mi-eval.exp | |
parent | 6a90e1d0a66727bc0d9344bde33bfd44cdd89f3e (diff) | |
download | fsf-binutils-gdb-fe766f112c8557ba0cc8c33a236b9078cca07d90.zip fsf-binutils-gdb-fe766f112c8557ba0cc8c33a236b9078cca07d90.tar.gz fsf-binutils-gdb-fe766f112c8557ba0cc8c33a236b9078cca07d90.tar.bz2 |
* mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
mi0-regs.exp, mi0-watch.exp, mi0-stepi.exp, mi0-until.exp,
mi0-return.exp, mi0-read-memory.exp, mi0-eval.exp,
mi0-disassemble.exp, mi0-console.exp, mi-watch.exp,
mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
mi-until.exp, mi-var-block.exp, mi-stepi.exp, mi-stack.exp,
mi-simplerun.exp, mi-return.exp, mi-regs.exp, mi-read-memory.exp,
mi-disassemble.exp, mi-eval.exp, mi-console.exp: Replace pattern
matching thread=0 with one to also match thread=1.
Fix PR gdb/190.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-eval.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-eval.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-eval.exp b/gdb/testsuite/gdb.mi/mi-eval.exp index 641d768..2c01410 100644 --- a/gdb/testsuite/gdb.mi/mi-eval.exp +++ b/gdb/testsuite/gdb.mi/mi-eval.exp @@ -64,7 +64,7 @@ proc test_running_the_program {} { mi_run_cmd # The running part has been checked already by mi_run_cmd gdb_expect { - -re "\[\r\n\]*000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"callee4\",args=\\\[\\\],file=\".*basics.c\",line=\"8\"\}\r\n$mi_gdb_prompt$" \ + -re "\[\r\n\]*000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"callee4\",args=\\\[\\\],file=\".*basics.c\",line=\"8\"\}\r\n$mi_gdb_prompt$" \ { pass "run to callee4" } -re ".*$mi_gdb_prompt$" {fail "run to callee4 (2)"} timeout {fail "run to callee4 (timeout 2)"} @@ -74,7 +74,7 @@ proc test_running_the_program {} { gdb_expect { -re "101\\^running\r\n$mi_gdb_prompt" { gdb_expect { - -re "\[\r\n\]*101\\*stopped,reason=\"end-stepping-range\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"callee4\",args=\\\[\\\],file=\".*basics.c\",line=\"9\"\}\r\n$mi_gdb_prompt$" \ + -re "\[\r\n\]*101\\*stopped,reason=\"end-stepping-range\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"callee4\",args=\\\[\\\],file=\".*basics.c\",line=\"9\"\}\r\n$mi_gdb_prompt$" \ { pass "next in callee4" } -re ".*$mi_gdb_prompt$" {fail "next in callee4 (2)"} timeout {fail "next in callee4 (timeout 2)"} |