]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
mi_load_progress: Restore current_uiout using a scoped_restore
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 0a54a90de34d421cdf124f95d300b646f128f40c..9ee44fbca891081ab711640f5d8551ec50dfd709 100644 (file)
@@ -1,3 +1,124 @@
+2017-09-16  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi/mi-main.c (mi_load_progress): Restore current_uiout using a
+       scoped_restore.
+
+2017-09-16  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi/mi-main.c (mi_load_progress): Make uiout variable
+       a unique_ptr.
+
+2017-09-15  Pedro Alves  <palves@redhat.com>
+
+       * compile/compile-c-types.c (convert_enum, convert_int)
+       (convert_float): Adjust to refer to int_type_v0 and float_type_v0.
+
+2017-09-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * dwarf2read.c (copy_string): Remove.
+       (parse_macro_definition): Replace copy_string with savestring.
+
+2017-09-15  Yao Qi  <yao.qi@linaro.org>
+
+       * configure.tgt (i[34567]86-*-darwin*): Append amd64.o to
+       gdb_target_obs.
+       (i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*):
+       Likewise.
+       (i[34567]86-*-linux*): Likewise.
+
+2017-09-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * dwarf2expr.h (dwarf_stack_value): Add constructor.
+       (dwarf_expr_context) <~dwarf_expr_context>: Define as default.
+       <stack>: Change type to std::vector.
+       <stack_len, stack_allocated>: Remove.
+       <grow_stack>: Remove.
+       * dwarf2expr.c (dwarf_expr_context::dwarf_expr_context): Adjust.
+       (dwarf_expr_context::~dwarf_expr_context): Remove.
+       (dwarf_expr_context::grow_stack): Remove.
+       (dwarf_expr_context::push): Adjust.
+       (dwarf_expr_context::pop): Adjust.
+       (dwarf_expr_context::fetch): Adjust.
+       (dwarf_expr_context::fetch_in_stack_memory): Adjust.
+       (dwarf_expr_context::stack_empty_p): Adjust.
+       (dwarf_expr_context::execute_stack_op): Adjust.
+
+2017-09-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * dwarf2expr.h (dwarf_expr_context) <stack_empty_p>: Change
+       return type to bool.
+       * dwarf2expr.c (dwarf_expr_context::stack_empty_p): Likewise.
+
+2017-09-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * dwarf2expr.h (dwarf_expr_piece) <v.mem.in_stack_memory>:
+       Change type to bool.
+       (dwarf_stack_value) <in_stack_memory>: Likewise.
+       (dwarf_expr_context) <push_address>: Change parameter type to
+       bool.
+       <fetch_in_stack_memory>: Change return type to bool.
+       <push>: Change parameter type to bool.
+       * dwarf2expr.c (dwarf_expr_context::push): Change parameter type
+       to bool.
+       (dwarf_expr_context::push_address): Likewise.
+       (dwarf_expr_context::fetch_in_stack_memory): Change return type
+       to bool.
+       (dwarf_expr_context::execute_stack_op): Adjust.
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Adjust.
+
+2017-09-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * dwarf2expr.h (struct dwarf_expr_piece): Move up.
+       (struct dwarf_expr_context) <n_pieces>: Remove.
+       <pieces>: Change type to std::vector.
+       * dwarf2expr.c (dwarf_expr_context::dwarf_expr_context): Adjust.
+       (dwarf_expr_context::~dwarf_expr_context): Don't manually free
+       pieces.
+       (dwarf_expr_context::add_piece): Adjust.
+       * dwarf2loc.c (struct piece_closure): Initialize fields.
+       <n_pieces>: Remove.
+       <pieces>: Change type to std::vector.
+       (allocate_piece_closure): Adjust, change parameter to
+       std::vector rvalue and std::move it to piece_closure.
+       (rw_pieced_value): Adjust.
+       (check_pieced_synthetic_pointer): Adjust.
+       (indirect_synthetic_pointer): Adjust.
+       (coerce_pieced_ref): Adjust.
+       (free_pieced_value_closure):  Adjust.  Use delete to free
+       piece_closure.
+       (dwarf2_evaluate_loc_desc_full): Adjust.  std::move ctx.pieces
+       to allocate_piece_closure.
+       (dwarf2_loc_desc_get_symbol_read_needs): Adjust.
+
+2017-09-12  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * probe.h (probe_ops_cp): Remove typedef.
+       (DEF_VEC_P (probe_ops_cp)): Remove.
+       (all_probe_ops): Change type to std::vector.
+       * probe.c (info_probes_for_ops): Adjust to vector change.
+       (probe_linespec_to_ops): Likewise.
+       (all_probe_ops): Change type to std::vector.
+       (_initialize_probe): Adjust to vector change.
+       * dtrace-probe.c (_initialize_dtrace_probe): Likewise.
+       * elfread.c (elf_get_probes): Likewise.
+       * stap-probe.c (_initialize_stap_probe): Likewise.
+
+2017-09-12  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * probe.h (struct bound_probe): Define constructors.
+       * probe.c (bound_probe_s): Remove typedef.
+       (DEF_VEC_O (bound_probe_s)): Remove VEC.
+       (collect_probes): Change return type to std::vector, remove
+       cleanup.
+       (compare_probes): Return bool, change parameter type.  Change
+       semantic to "less than".
+       (gen_ui_out_table_header_info): Change parameter to std::vector
+       and update.
+       (exists_probe_with_pops): Likewise.
+       (info_probes_for_ops): Update to std::vector change.
+       (enable_probes_command): Likewise.
+       (disable_probes_command): Likewise.
+
 2017-09-12  Simon Marchi  <simon.marchi@ericsson.com>
 
        * probe.h (struct probe_ops) <get_probes>: Change parameter from