gdb: rename type::{arch,objfile} -> type::{arch_owner,objfile_owner}
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index df54d9af985edbde766e99f62f96f26bc5c0272d..88dfba7c5f0103029d885a7599d22b14073bd5a7 100644 (file)
@@ -1,3 +1,186 @@
+2021-01-28  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdbtypes.h (struct type) <arch>: Rename to...
+       <arch_owner>: ... this, update all users.
+       <objfile>: Rename to...
+       <objfile_owner>: ... this, update all users.
+
+2021-01-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdbcmd.h (execute_command_to_string): Update comment.
+       * top.c (execute_command_to_string): Update header comment.
+
+2021-01-28  Tom de Vries  <tdevries@suse.de>
+
+       PR breakpoints/27205
+       * breakpoint.c (create_longjmp_master_breakpoint_probe)
+       (create_longjmp_master_breakpoint_names): New function, factored out
+       of ...
+       (create_longjmp_master_breakpoint): ... here.  Only try to install
+       longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
+       breakpoint in libc.so failed.
+
+2021-01-27  Lancelot SIX  <lsix@lancelotsix.com>
+
+       PR gdb/27133
+       * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
+       unique_ptr is released when the wrapped pointer is kept for later
+       use.
+
+2021-01-27  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * aarch64-tdep.c (aarch64_displaced_step_others): Account for
+       BLR and BR instructions.
+       * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
+       (enum aarch64_masks): New.
+
+2021-01-26  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
+       (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
+       (windows_init_thread_list, windows_nat::handle_load_dll)
+       (windows_nat::handle_unload_dll, windows_nat_target::resume)
+       (windows_nat_target::resume)
+       (windows_nat_target::get_windows_debug_event)
+       (windows_nat_target::interrupt, windows_xfer_memory)
+       (windows_nat_target::close): Update.
+       * nat/windows-nat.c (DEBUG_EVENTS): Use
+       debug_prefixed_printf_cond.
+       (matching_pending_stop, fetch_pending_stop)
+       (continue_last_debug_event): Update.
+
+2020-12-17  Mihails Strasuns  <mihails.strasuns@intel.com>
+
+       * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
+       elfcore_write_file_note.
+
+2021-01-26  Shahab Vahedi  <shahab@synopsys.com>
+
+       * arc-tdep.c (arc_add_reggroups): New function.
+       (arc_gdbarch_init): Call arc_add_reggroups.
+
+2021-01-26  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * arc-tdep.c (arc_skip_prologue): Log "pc" address.
+
+2021-01-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+           Simon Marchi  <simon.marchi@polymtl.ca>
+           Tom de Vries  <tdevries@suse.de>
+
+       * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
+       DW_AT_ranges.
+
+2021-01-25  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.c (get_mpz): New function.
+       (get_dwarf2_rational_constant): Use it.
+
+2021-01-25  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (resolve_subexp): Handle array context.
+
+2021-01-23  Tom Tromey  <tom@tromey.com>
+
+       PR compile/25575
+       * compile/compile-loc2c.c (note_register): New function.
+       (pushf_register_address, pushf_register): Use it.
+
+2021-01-23  Tom Tromey  <tom@tromey.com>
+
+       * symtab.h (struct symbol_computed_ops) <generate_c_location>:
+       Change type of "registers_used".
+       * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
+       * dwarf2/loc.c (dwarf2_compile_property_to_c)
+       (locexpr_generate_c_location, loclist_generate_c_location): Change
+       type of "registers_used".
+       * compile/compile.h (compile_dwarf_expr_to_c)
+       (compile_dwarf_bounds_to_c): Update.
+       * compile/compile-loc2c.c (pushf_register_address)
+       (pushf_register, do_compile_dwarf_expr_to_c)
+       (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
+       of "registers_used".
+       * compile/compile-c.h (generate_c_for_variable_locations):
+       Update.
+       * compile/compile-c-symbols.c (generate_vla_size)
+       (generate_c_for_for_one_variable): Change type of
+       "registers_used".
+       (generate_c_for_variable_locations): Return std::vector.
+       * compile/compile-c-support.c (generate_register_struct): Change
+       type of "registers_used".
+       (compute): Update.
+
+2021-01-23  Tom Tromey  <tom@tromey.com>
+
+       * compile/compile-internal.h (class compile_instance)
+       <set_arguments>: Change return type.
+       * compile/compile.c (compile_to_object): Remove call to reset.
+       (compile_instance::set_arguments): Change return type.
+
+2021-01-23  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdbtypes.c (copy_type_recursive): Use get_type_arch.
+       * gdbtypes.h (struct type) <set_owner>: Add asserts.
+
+2021-01-23  Lancelot SIX  <lsix@lancelotsix.com>
+
+       * Makefile.in (SELFTESTS_SRCS): Add
+       unittests/gdb_tilde_expand-selftests.c.
+       * unittests/gdb_tilde_expand-selftests.c: New file.
+
+2021-01-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR cli/25956
+       * NEWS: Mention new command.
+       * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
+       (version_style): Define.
+       (cli_style_option::cli_style_option): Add intensity parameter, and
+       use as appropriate.
+       (_initialize_cli_style): Register version style set/show commands.
+       * cli/cli-style.h (cli_style_option): Add intensity parameter.
+       (version_style): Declare.
+       * top.c (print_gdb_version): Use version_stype, and styled_string
+       to print the GDB version string.
+
+2021-01-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * utils.c (emit_style_escape): Only emit an escape sequence if the
+       requested style is different than the current applied style.
+       (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
+       current applied_style.
+       (fputs_styled): Remove is_default check.
+       (fputs_styled_unfiltered): Likewise.
+       (vfprintf_styled_no_gdbfmt): Likewise.
+
+2021-01-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * remote.h (remote_debug_printf): New.
+       (remote_debug_printf_nofunc): New.
+       (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
+       * remote.c: Use above macros throughout file.
+
+2021-01-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * remote.h (remote_debug): Change to bool.
+       * remote.c (remote_debug): Change to bool.
+       (_initialize_remote): Adjust.
+
+2021-01-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * target.h (remote_debug): Move to...
+       * remote.h (remote_debug): ... here.
+       * top.c (remote_debug): Move to...
+       * remote.c (remote_debug): ... here.
+       * remote-sim.c: Include remote.h.
+
+2021-01-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * cli/cli-cmds.c (show_remote_debug): Remove.
+       (show_remote_timeout): Remove.
+       (_initialize_cli_cmds): Don't register commands.
+       * remote.c (show_remote_debug): Move here.
+       (show_remote_timeout): Move here.
+       (_initialize_remote): Register commands.
+
 2021-01-22  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
This page took 0.025687 seconds and 4 git commands to generate.