This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch gdb-7.7-branch updated. cf419c94028bddebd0db4949d6814b3c841481f2
- From: qiyao at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 5 Feb 2014 12:10:11 -0000
- Subject: gdb and binutils branch gdb-7.7-branch updated. cf419c94028bddebd0db4949d6814b3c841481f2
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, gdb-7.7-branch has been updated
via cf419c94028bddebd0db4949d6814b3c841481f2 (commit)
via fd7fe75fcafe9da919ec0a364ee74f9d46f0782c (commit)
from 1dc7c3cf73fa178881f3b884bba3b81d17d1148f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cf419c94028bddebd0db4949d6814b3c841481f2
commit cf419c94028bddebd0db4949d6814b3c841481f2
Author: Yao Qi <yao@codesourcery.com>
Date: Thu Jan 30 10:09:11 2014 +0800
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".
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fd7fe75fcafe9da919ec0a364ee74f9d46f0782c
commit fd7fe75fcafe9da919ec0a364ee74f9d46f0782c
Author: Yao Qi <yao@codesourcery.com>
Date: Thu Jan 30 08:37:05 2014 +0800
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.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 23 +++++++++++++++++++++++
gdb/ctf.c | 24 ++++++++++++++++++++++++
gdb/testsuite/ChangeLog | 13 +++++++++++++
gdb/testsuite/gdb.trace/report.exp | 7 ++++++-
gdb/testsuite/gdb.trace/tfile.exp | 3 ---
gdb/tracepoint.c | 19 +++++++++++++++++++
6 files changed, 85 insertions(+), 4 deletions(-)
hooks/post-receive
--
gdb and binutils