diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2014-02-03 11:40:50 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2015-07-02 12:54:20 +0200 |
commit | 9be54cae43929ab989fcd44dfcf8d3313a55f7a0 (patch) | |
tree | 94df2cf071445b2fc70446451ce78b4cb441cded /gdb/ChangeLog | |
parent | 010a18a1b12ec6d5219b7e602aa6abe12344dd1a (diff) | |
download | gdb-9be54cae43929ab989fcd44dfcf8d3313a55f7a0.zip gdb-9be54cae43929ab989fcd44dfcf8d3313a55f7a0.tar.gz gdb-9be54cae43929ab989fcd44dfcf8d3313a55f7a0.tar.bz2 |
btrace: store raw btrace data
Store the raw branch trace data that has been read from the target.
This data can be used for maintenance commands as well as for generating
a core file for the "record save" command.
gdb/
* btrace.c (btrace_fetch): Append the new trace data.
(btrace_clear): Clear the stored trace data.
* btrace.h (btrace_thread_info) <data>: New.
* common/btrace-common.h (btrace_data_clear)
(btrace_data_append): New.
* common/btrace-common.c (btrace_data_clear)
(btrace_data_append): New.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a4cce4d..807d19f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2015-07-02 Markus Metzger <markus.t.metzger@intel.com> + * btrace.c (btrace_fetch): Append the new trace data. + (btrace_clear): Clear the stored trace data. + * btrace.h (btrace_thread_info) <data>: New. + * common/btrace-common.h (btrace_data_clear) + (btrace_data_append): New. + * common/btrace-common.c (btrace_data_clear) + (btrace_data_append): New. + +2015-07-02 Markus Metzger <markus.t.metzger@intel.com> + * nat/linux-btrace.c (linux_enable_bts): Check for PERF_ATTR_SIZE_VER5. Check for data_offset and data_size fields. Use them. |