diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-06-02 19:41:11 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-06-02 19:41:11 +0000 |
commit | 0ab48859b9a642d6393ccb0c43bda33360b83750 (patch) | |
tree | 5c23eb8063438843a1cca824ffd7f29c36a1b7af /gdb/testsuite/gdb.trace/infotrace.exp | |
parent | 9eae7c5264c14e142dd52988f70d58f62755b2d0 (diff) | |
download | gdb-0ab48859b9a642d6393ccb0c43bda33360b83750.zip gdb-0ab48859b9a642d6393ccb0c43bda33360b83750.tar.gz gdb-0ab48859b9a642d6393ccb0c43bda33360b83750.tar.bz2 |
2010-05-26 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
Diffstat (limited to 'gdb/testsuite/gdb.trace/infotrace.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/infotrace.exp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.trace/infotrace.exp b/gdb/testsuite/gdb.trace/infotrace.exp index 8130553..bfe8794 100644 --- a/gdb/testsuite/gdb.trace/infotrace.exp +++ b/gdb/testsuite/gdb.trace/infotrace.exp @@ -76,15 +76,15 @@ gdb_test "info tracepoint [expr $c_test_num + $asm_test_num]" \ "2.3: info tracepoint (invalid tracepoint number)" # 2.4 info tracepoints (list of numbers) -send_gdb "info tracepoints $c_test_num $asm_test_num \n" -gdb_expect { - -re "Num Enb .*$gdb_prompt $" { - fail "2.4: info trace rejects multiple tracepoint numbers" +gdb_test_multiple "info tracepoints $c_test_num $asm_test_num " \ + "2.4: info trace rejects multiple tracepoint numbers" { + -re "Num Enb .*$gdb_prompt $" { + fail "2.4: info trace rejects multiple tracepoint numbers" + } + -re ".*$gdb_prompt $" { + pass "2.4: info trace rejects multiple tracepoint numbers" + } } - -re ".*$gdb_prompt $" { - pass "2.4: info trace rejects multiple tracepoint numbers" - } -} # 2.5 help info trace gdb_test "help info tracepoints" \ |