aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2010-04-04 23:31:29 +0000
committerStan Shebs <shebs@codesourcery.com>2010-04-04 23:31:29 +0000
commitaf54718eaed854c5e7ef4dbd6845969aa6558ef4 (patch)
treef6a7b5c21b652efedc60182dcdfda6ac9572fe5f /gdb/testsuite
parent74d1f91eb19fd48d51664b33769c8c0d4f8e4c38 (diff)
downloadgdb-af54718eaed854c5e7ef4dbd6845969aa6558ef4.zip
gdb-af54718eaed854c5e7ef4dbd6845969aa6558ef4.tar.gz
gdb-af54718eaed854c5e7ef4dbd6845969aa6558ef4.tar.bz2
2010-04-04 Stan Shebs <stan@codesourcery.com>
* tracepoint.c (tfile_fetch_registers): Add fallback case. * gdb.texinfo (Tracepoint Restrictions): Document PC inference. (tdump): Explain how tdump works. * gdb.trace/tfile.exp: Sharpen tfind test.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.trace/tfile.exp5
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 27054c0..8566e4a 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-04 Stan Shebs <stan@codesourcery.com>
+
+ * gdb.trace/tfile.exp: Sharpen tfind test.
+
2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-entry.exp: New.
diff --git a/gdb/testsuite/gdb.trace/tfile.exp b/gdb/testsuite/gdb.trace/tfile.exp
index a3adfcc..a0a73ee 100644
--- a/gdb/testsuite/gdb.trace/tfile.exp
+++ b/gdb/testsuite/gdb.trace/tfile.exp
@@ -69,7 +69,10 @@ gdb_test "target tfile basic.tf" "Created tracepoint.*" "target tfile"
gdb_test "info trace" ".*tracepoint.*in write_basic_trace_file.*" \
"info tracepoints on trace file"
-gdb_test "tfind 0" "Found trace frame 0.*" "tfind 0 on trace file"
+gdb_test "tfind 0" \
+ "Found trace frame 0, tracepoint \[0-9\]+.
+\#0 write_basic_trace_file ().*" \
+ "tfind 0 on trace file"
gdb_test "print testglob" " = 31415" "print testglob on trace file"