aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/tfile.exp
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-05-24 12:27:39 +0000
committerYao Qi <yao@codesourcery.com>2013-05-24 12:27:39 +0000
commitc0ea94eb34ef5e4c0a4c5df40976d368ddf54fb4 (patch)
tree1baeef58e4975b5a2ab433b5f203038dc93f214f /gdb/testsuite/gdb.trace/tfile.exp
parent6740dc9c3e1fbc0f2ae2cb54feee654023db157d (diff)
downloadgdb-c0ea94eb34ef5e4c0a4c5df40976d368ddf54fb4.zip
gdb-c0ea94eb34ef5e4c0a4c5df40976d368ddf54fb4.tar.gz
gdb-c0ea94eb34ef5e4c0a4c5df40976d368ddf54fb4.tar.bz2
gdb/
* tracepoint.c (TFILE_PID): Remove. (tfile_open): Don't add thread and inferior. (tfile_close): Don't set 'inferior_ptid'. Don't call exit_inferior_silent. (tfile_thread_alive): Remove. (init_tfile_ops): Don't set field 'to_thread_alive' of tfile_ops. gdb/testsuite/ * gdb.trace/tfile.exp: Test inferior and thread.
Diffstat (limited to 'gdb/testsuite/gdb.trace/tfile.exp')
-rw-r--r--gdb/testsuite/gdb.trace/tfile.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/tfile.exp b/gdb/testsuite/gdb.trace/tfile.exp
index 087d207..d7381eb 100644
--- a/gdb/testsuite/gdb.trace/tfile.exp
+++ b/gdb/testsuite/gdb.trace/tfile.exp
@@ -119,6 +119,9 @@ Trace buffer has 256 bytes of 4096 bytes free \\(93% full\\).*
Not looking at any trace frame.*" \
"tstatus on error trace file"
+gdb_test "info threads" "No threads\..*"
+gdb_test "info inferiors" "\\* 1 <null>\[ \t\]+${binfile}.*"
+
# Make sure we can reopen without error.
gdb_test \
"interpreter-exec mi \"-target-select tfile tfile-basic.tf\"" \