diff options
author | Yao Qi <yao@codesourcery.com> | 2014-01-30 10:09:11 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-02-05 19:37:25 +0800 |
commit | de7b2893853cd1122b223a2023fdc35b41a26960 (patch) | |
tree | c4f54bbe1e43c85d47ed8ee7b2b63287146544fd /gdb/dwarf2expr.h | |
parent | 66d032ac625efa6a68403c4ec318264709a92302 (diff) | |
download | fsf-binutils-gdb-de7b2893853cd1122b223a2023fdc35b41a26960.zip fsf-binutils-gdb-de7b2893853cd1122b223a2023fdc35b41a26960.tar.gz fsf-binutils-gdb-de7b2893853cd1122b223a2023fdc35b41a26960.tar.bz2 |
Create inferior for ctf target.
This patch creates inferior when GDB opens a ctf trace data, to be
consistent with tfile target. A test case is added to test for
live target, tfile and ctf target.
gdb:
2014-02-05 Yao Qi <yao@codesourcery.com>
* ctf.c: Include "inferior.h" and "gdbthread.h".
(CTF_PID): A new macro.
(ctf_open): Call inferior_appeared and add_thread_silent.
(ctf_close): Call exit_inferior_silent and set inferior_ptid.
(ctf_thread_alive): New function.
(init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
gdb/testsuite:
2014-02-05 Yao Qi <yao@codesourcery.com>
* gdb.trace/report.exp (use_collected_data): Test the output
of "info threads" and "info inferiors".
Diffstat (limited to 'gdb/dwarf2expr.h')
0 files changed, 0 insertions, 0 deletions