diff options
author | Yao Qi <yao@codesourcery.com> | 2014-01-30 08:37:05 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-02-05 19:35:39 +0800 |
commit | 66d032ac625efa6a68403c4ec318264709a92302 (patch) | |
tree | 25b25464cc811f36cb61fb63c51fabecd9ab1cc4 /gdb/testsuite/gdb.trace | |
parent | ba74cf67e659546e7d6ca3f2f6e125f1940cb089 (diff) | |
download | gdb-66d032ac625efa6a68403c4ec318264709a92302.zip gdb-66d032ac625efa6a68403c4ec318264709a92302.tar.gz gdb-66d032ac625efa6a68403c4ec318264709a92302.tar.bz2 |
Create inferior for tfile target
When a trace file is loaded in Eclipse, it is expected to see thread
and process (=thread-group-started and =thread-created). Create an
inferior and add a thread for this purpose.
This patch just reverts my previous patch.
gdb/testsuite:
2014-02-05 Yao Qi <yao@codesourcery.com>
Revert this patch:
2013-05-24 Yao Qi <yao@codesourcery.com>
* gdb.trace/tfile.exp: Test inferior and thread.
gdb:
2014-02-05 Yao Qi <yao@codesourcery.com>
Revert this patch:
2013-05-24 Yao Qi <yao@codesourcery.com>
* 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.
Diffstat (limited to 'gdb/testsuite/gdb.trace')
-rw-r--r-- | gdb/testsuite/gdb.trace/tfile.exp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.trace/tfile.exp b/gdb/testsuite/gdb.trace/tfile.exp index 35d9c2c..634c2fc 100644 --- a/gdb/testsuite/gdb.trace/tfile.exp +++ b/gdb/testsuite/gdb.trace/tfile.exp @@ -136,9 +136,6 @@ 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\"" \ |