btrace: add format argument to supports_btrace
[binutils-gdb.git] / gdb / ChangeLog
index 7c7e878d84d4b2e80f3549e56abed7e3502959df..255daa1cf8a6fbc05cc02c92de112e56f4624f42 100644 (file)
@@ -1,3 +1,79 @@
+2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * btrace.c (btrace_enable): Pass BTRACE_FORMAT_BTS.
+       * record-btrace.c (record_btrace_open): Remove call to
+       target_supports_btrace.
+       * remote.c (remote_supports_btrace): Update parameters.
+       * target.c (target_supports_btrace): Update parameters.
+       * target.h (to_supports_btrace, target_supports_btrace): Update
+       parameters.
+       * target-delegates.c: Regenerate.
+       * target-debug.h (target_debug_print_enum_btrace_format): New.
+       * nat/linux-btrace.c
+       (kernel_supports_btrace): Rename into ...
+       (kernel_supports_bts): ... this.  Update users.  Update warning text.
+       (intel_supports_btrace): Rename into ...
+       (intel_supports_bts): ... this.  Update users.
+       (cpu_supports_btrace): Rename into ...
+       (cpu_supports_bts): ... this.  Update users.
+       (linux_supports_btrace): Update parameters.  Split into this and ...
+       (linux_supports_bts): ... this.
+       * nat/linux-btrace.h (linux_supports_btrace): Update parameters.
+
+2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * Makefile.in (SFILES): Add common/btrace-common.c.
+       (COMMON_OBS): Add common/btrace-common.o.
+       (btrace-common.o): Add build rules.
+       * btrace.c (parse_xml_btrace): Update parameters.
+       (parse_xml_btrace_block): Set format field.
+       (btrace_add_pc, btrace_fetch): Use struct btrace_data.
+       (do_btrace_data_cleanup, make_cleanup_btrace_data): New.
+       (btrace_compute_ftrace): Split into this and...
+       (btrace_compute_ftrace_bts): ...this.
+       (btrace_stitch_trace): Split into this and...
+       (btrace_stitch_bts): ...this.
+       * btrace.h (parse_xml_btrace): Update parameters.
+       (make_cleanup_btrace_data): New.
+       * common/btrace-common.c: New.
+       * common/btrace-common.h: Include common-defs.h.
+       (btrace_block_s): Update comment.
+       (btrace_format): New.
+       (btrace_format_string): New.
+       (btrace_data_bts): New.
+       (btrace_data): New.
+       (btrace_data_init, btrace_data_fini, btrace_data_empty): New.
+       * remote.c (remote_read_btrace): Update parameters.
+       * target.c (target_read_btrace): Update parameters.
+       * target.h (target_read_btrace): Update parameters.
+       (target_ops)<to_read_btrace>: Update parameters.
+       * x86-linux-nat.c (x86_linux_read_btrace): Update parameters.
+       * target-delegates.c: Regenerate.
+       * target-debug (target_debug_print_struct_btrace_data_p): New.
+       * nat/linux-btrace.c (linux_read_btrace): Split into this and...
+       (linux_read_bts): ...this.
+       * nat/linux-btrace.h (linux_read_btrace): Update parameters.
+
+2015-02-06  Doug Evans  <dje@google.com>
+
+       * remote-m32r-sdi.c: Include symfile.h.
+
+2015-02-06  Doug Evans  <dje@google.com>
+
+       * symtab.h (clear_symtab_users, deduce_language_from_filename): Move
+       * symfile.h (clear_symtab_users, deduce_language_from_filename): ...
+       to here.
+
+2015-02-06  Pedro Alves  <palves@redhat.com>
+
+       * linux-thread-db.c (find_new_threads_callback): Add debug output.
+
+2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
+
+       PR gdb/15678
+       * breakpoint.c (map_breakpoint_numbers): Check for empty args string.
+       (enable_count_command): Check args for NULL value.
+
 2015-02-05  Doug Evans  <xdje42@gmail.com>
 
        * guile/scm-frame.c: Fix spelling errors in a comment.