gdb: Change a VEC to std::vector in btrace.{c,h}
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9494dc4adc9ef588ee73247b376e5df29864d6c3..7d1843179b5ee61cc261b89e0a26c362e2eda00a 100644 (file)
@@ -1,3 +1,57 @@
+2019-10-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * btrace.c (btrace_maint_clear): Update to handle change from VEC
+       to std::vector.
+       (btrace_maint_decode_pt): Likewise, and move allocation of the
+       vector outside of the loop.
+       (btrace_maint_update_packets): Update to handle change from VEC to
+       std::vector.
+       (btrace_maint_print_packets): Likewise.
+       (maint_info_btrace_cmd): Likewise.
+       * btrace.h: Remove use of DEF_VEC_O.
+       (typedef btrace_pt_packet_s): Delete.
+       (struct btrace_maint_info) <packets>: Change fromm VEC to
+       std::vector.
+       * gdbsupport/btrace-common.h: Remove 'vec.h' include.
+
+2019-10-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * btrace.c (btrace_compute_ftrace_bts): Update for std::vector,
+       make accesses into the vector constant references.
+       (btrace_add_pc): Update for std::vector.
+       (btrace_stitch_bts): Likewise.
+       (parse_xml_btrace_block): Likewise.
+       (btrace_maint_update_packets): Likewise.
+       (btrace_maint_print_packets): Likewise.
+       (maint_info_btrace_cmd): Likewise.
+       * gdbsupport/btrace-common.c (btrace_data::fini): Update for
+       std::vector.
+       (btrace_data::empty): Likewise.
+       (btrace_data_append): Likewise.
+       * gdbsupport/btrace-common.h: Remove use of DEF_VEC_O.
+       (typedef btrace_block_s): Delete.
+       (struct btrace_block): Add constructor.
+       (struct btrace_data_bts) <blocks>: Change to std::vector.
+       * nat/linux-btrace.c (perf_event_read_bts): Update for
+       std::vector.
+       (linux_read_bts): Likewise.
+
+2019-10-01  Tom Tromey  <tom@tromey.com>
+
+       * cli/cli-logging.c (show_logging_filename): Use styled_string.
+
+2019-10-01  Tom Tromey  <tom@tromey.com>
+
+       * stack.c (print_frame, info_frame_command_core): Use
+       styled_string.
+       * linux-thread-db.c (try_thread_db_load_1)
+       (try_thread_db_load_from_pdir_1): Use styled_string.
+       * auto-load.c (file_is_auto_load_safe, execute_script_contents)
+       (auto_load_section_scripts, info_auto_load_local_gdbinit)
+       (maybe_print_unsupported_script_warning)
+       (maybe_print_script_not_found_warning): Use styled_string.
+       * ada-lang.c (user_select_syms): Use styled_string.
+
 2019-10-01  Tom Tromey  <tom@tromey.com>
 
        * p-lang.c (pascal_printstr): Use metadata style.
This page took 0.024946 seconds and 4 git commands to generate.