Convert main_info to type-safe registry API
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 383b3533390ebb5ed0dd33dad0e44c1b2f2b9989..2642249cc30ed8e7d0e72dcddf4fdb66ebedc999 100644 (file)
@@ -1,3 +1,150 @@
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * symtab.c (struct main_info): Add destructor and initializers.
+       (main_progspace_key): Move.  Change type.
+       (get_main_info): Update.
+       (main_info_cleanup): Remove.
+       (_initialize_symtab): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * registry.h (DECLARE_REGISTRY): Define the _key class.
+
+2019-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Merge two 'New commands' sections.
+
+2019-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-valprint.c (ada_val_print_gnat_array): Remove language
+       parameter and use Ada language definition instead.
+       (ada_val_print_ptr): Remove unused language parameter.
+       (ada_val_print_num): Remove language parameter and use Ada language
+       definition instead.
+       (ada_val_print_enum, ada_val_print_flt): Remove unused language
+       parameter.
+       (ada_val_print_struct_union, ada_val_print_ref): Remove language
+       parameter and use Ada language definition instead.
+       (ada_val_print_1): Update all ada_val_print_xxx calls.
+       Remove language parameter.
+       (ada_val_print): Update ada_val_print_1 call.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * remote.c (remote_hw_watchpoint_limit)
+       (remote_hw_watchpoint_length_limit, remote_hw_breakpoint_limit):
+       Now static.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * maint.c (_initialize_maint_cmds): Move initialization code to
+       remote.c.
+       (watchdog, show_watchdog): Move to remote.c.
+       * remote.c (watchdog, show_watchdog): Move from maint.c.  Make
+       "watchdog" static.
+       (_initialize_remote): Move initialization code from maint.c.
+       * defs.h (watchdog): Don't declare.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * tui/tui-interp.c: Include main.h.
+       * interps.c: Include main.h.
+       * main.h (interpreter_p): Declare.
+       * defs.h (interpreter_p): Don't declare.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2loc.c: Include dwarf2read.h.
+       * defs.h (read_unsigned_leb128): Don't declare.
+       * dwarf2read.h (read_unsigned_leb128): Declare.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * utils.c (fputs_maybe_filtered): Call can_emit_style_escape as a
+       method.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * utils.c (fputs_maybe_filtered): Reset style after paging, even
+       when no wrap column is set.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * c-lang.c (c_get_string): Handle non-C-style arrays.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * typeprint.c (print_offset_data::update): Print the bit offset,
+       not the number of bits remaining.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * typeprint.c (print_offset_data::maybe_print_hole): Add extra
+       padding at end of comment.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2loc.c (dwarf2_evaluate_property) <PROP_ADDR_OFFSET>:
+       Compare main types.
+
+2019-05-06  Tom Tromey  <tom@tromey.com>
+
+       * common/scoped_mmap.c: Include common-defs.h.
+       * common/scoped_mmap.h: Don't include config.h.
+
+2019-05-04  Tom Tromey  <tom@tromey.com>
+
+       * aarch64-tdep.c (stack_item_t): Remove typedef and DEF_VEC.
+       (struct aarch64_call_info): Add initializers.
+       <si>: Now a std::vector.
+       (pass_on_stack, aarch64_push_dummy_call): Update.
+
+2019-05-04  Simon Marchi  <simon.marchi@efficios.com>
+           Tom Tromey  <tom@tromey.com>
+
+       * ppc-linux-nat.c (thread_points_p): Remove typedef and DEF_VEC.
+       (ppc_threads): Now a std::vector.  Now static.
+       (hwdebug_find_thread_points_by_tid)
+       (ppc_linux_nat_target::low_new_thread, ppc_linux_thread_exit):
+       Update.
+
+2019-05-04  Tom Tromey  <tom@tromey.com>
+
+       * arc-tdep.c (arc_tdesc_init): Return bool.
+
+2019-05-04  Tom Tromey  <tom@tromey.com>
+
+       * arm-linux-nat.c (arm_linux_nat_target::can_use_hw_breakpoint):
+       Use gdb_assert_not_reached.
+
+2019-05-04  Tom Tromey  <tom@tromey.com>
+
+       * compile/compile-cplus-types.c (compile_cplus_convert_enum): Use
+       "false".
+
+2019-05-04  Tom Tromey  <tom@tromey.com>
+
+       * arc-tdep.c (arc_tdesc_init): Use bool.
+
+2019-05-04  Tom Tromey  <tom@tromey.com>
+
+       * stack.c (select_frame_for_mi): Use "false", not "FALSE".
+
+2019-05-04  Tom Tromey  <tom@tromey.com>
+
+       * cli/cli-cmds.c (valid_command_p): Return bool.
+
+2019-05-04  Tom Tromey  <tom@tromey.com>
+
+       * cli/cli-decode.c (valid_user_defined_cmd_name_p): Return bool.
+       * command.h (valid_user_defined_cmd_name_p): Channge return type.
+
+2019-05-04  Raul Tambre  <raul@tambre.ee>
+
+       * python/lib/gdb/prompt.py (_ExtendedPrompt)
+       <before_prompt_hook, get_show_string>: Fix incorrect use of 'is'
+       operator for comparison.
+
 2019-05-04  Tom Tromey  <tom@tromey.com>
 
        * psymtab.c (psymbol_name_matches, match_partial_symbol)
This page took 0.032943 seconds and 4 git commands to generate.