This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 614d5099da07f5899dfac9720f49b9f6f350c1bd
- From: qiyao at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 19 Apr 2014 06:24:50 -0000
- Subject: gdb and binutils branch master updated. 614d5099da07f5899dfac9720f49b9f6f350c1bd
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, master has been updated
via 614d5099da07f5899dfac9720f49b9f6f350c1bd (commit)
from dac3e7103f2822b42ecbb58e40f70f7ccb802d42 (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=614d5099da07f5899dfac9720f49b9f6f350c1bd
commit 614d5099da07f5899dfac9720f49b9f6f350c1bd
Author: Yao Qi <yao@codesourcery.com>
Date: Sat Apr 19 10:14:58 2014 +0800
Get trace_regblock_size from metadata instead of event
In ctf trace, for each 'R' block, we save it as a "register" event,
as defined below in metadata.
event {
name = "register";
id = 0;
fields := struct {
ascii contents[440];
};
}
Nowadays, we initialize trace_regblock_size by getting the length of
"contents" from a "register" event. However, 'R' block may not exist
in traceframe, as a result, "register" event doesn't exist in trace file
and trace_regblock_size isn't set.
This patch changes to get trace_regblock_size from metadata (or declaration)
which always exists.
gdb:
2014-04-19 Yao Qi <yao@codesourcery.com>
* ctf.c (handle_id): New static variable.
(ctf_open_dir): Get handle_id from bt_context_add_trace return
value. Get the declaration of event "register" and get length
of field "contents".
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 7 +++++++
gdb/ctf.c | 56 ++++++++++++++++++++++----------------------------------
2 files changed, 29 insertions(+), 34 deletions(-)
hooks/post-receive
--
gdb and binutils