aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/tfind.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-03-12 04:04:40 +0000
committerPedro Alves <palves@redhat.com>2010-03-12 04:04:40 +0000
commit6a8f26716ab741331f724f92713d982fe47126da (patch)
treee4146dc4cf86ea8db85b3c4da03adf6b3fcda1bc /gdb/testsuite/gdb.trace/tfind.exp
parent2f4d88753bc52c1104d9418fb843154ee8ef610c (diff)
downloadgdb-6a8f26716ab741331f724f92713d982fe47126da.zip
gdb-6a8f26716ab741331f724f92713d982fe47126da.tar.gz
gdb-6a8f26716ab741331f724f92713d982fe47126da.tar.bz2
* gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
* gdb.trace/report.exp: Adjust for x86 and x86_64. Issue a tfind end before looking for a tracepoint frame. * gdb.trace/tfind.exp: Adjust tstatus output. Adjust disassembly output. * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
Diffstat (limited to 'gdb/testsuite/gdb.trace/tfind.exp')
-rw-r--r--gdb/testsuite/gdb.trace/tfind.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.trace/tfind.exp b/gdb/testsuite/gdb.trace/tfind.exp
index 2f65436..9928c69 100644
--- a/gdb/testsuite/gdb.trace/tfind.exp
+++ b/gdb/testsuite/gdb.trace/tfind.exp
@@ -147,7 +147,8 @@ gdb_expect {
gdb_test "help tstop" "Stop trace data collection." "7.2: help tstop"
# test tstatus (when trace off)
-gdb_test "tstatus" "\[Tt\]race.* not running.*" "test tstatus off"
+gdb_test "tstatus" "Trace stopped by a tstop command.*" \
+ "test tstatus off after tstop"
## record starting PC
set save_pc [gdb_readexpr "(unsigned long) \$pc"];
@@ -333,7 +334,7 @@ set timeout 60
send_gdb "disassemble gdb_c_test\n"
# look for disassembly of function label
gdb_expect {
- -re "<gdb_c_test>:.*$gdb_prompt $" { pass "8.36: trace disassembly" }
+ -re "<gdb_c_test(\.\[0-9\]+|)>:.*End of assembler dump.*$gdb_prompt $" { pass "8.36: trace disassembly" }
-re ".*$gdb_prompt $" { fail "8.36: trace disassembly" }
timeout { fail "8.36: trace disassembly (timeout)" }
}