btrace, gdbserver: read branch trace incrementally
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5cdf5698271a93a86d7cd98d9b55d51874e387c2..fc1f23d85a5db8c6d3bf5bc8526ef0e5e5a9f6e3 100644 (file)
@@ -1,3 +1,30 @@
+2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
+       Support delta reads.
+       (linux_disable_btrace): Change return type.
+       * common/linux-btrace.h (linux_read_btrace): Change parameters
+       and return type to allow error reporting.  Update users.
+       (linux_disable_btrace): Change return type.  Update users.
+       * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
+       New.
+       (btrace_error): New.
+       (btrace_block) <begin>: Comment on BEGIN == 0.
+       * btrace.c (btrace_compute_ftrace): Start from the end of
+       the current trace.
+       (btrace_stitch_trace, btrace_clear_history): New.
+       (btrace_fetch): Read delta trace, return if replaying.
+       (btrace_clear): Move clear history code to btrace_clear_history.
+       (parse_xml_btrace): Throw an error if parsing failed.
+       * target.h (struct target_ops) <to_read_btrace>: Change parameters
+       and return type to allow error reporting.
+       (target_read_btrace): Change parameters and return type to allow
+       error reporting.
+       * target.c (target_read_btrace): Update.
+       * remote.c (remote_read_btrace): Support delta reads.  Pass
+       errors on.
+       * NEWS: Announce it.
+
 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
 
        * record.h (record_btrace_frame_unwind)
This page took 0.036735 seconds and 4 git commands to generate.