Prefer symtab symbol over minsym for function names in non-contiguous blocks
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6d50df19d904ecc71cfbac48d206fe176a6f77e0..7d6ef1aae2f425622998b9b448db7fcd3be7da1f 100644 (file)
@@ -1,3 +1,337 @@
+2019-07-27  Kevin Buettner  <kevinb@redhat.com>
+
+       * stack.c (find_frame_funname): Remove code which preferred
+       minsym over symtab sym in "certain pathological cases".
+
+2019-07-26  Brian Callahan  <bcallah@openbsd.org>
+
+       PR gdb/24839:
+       * gdb/obsd-nat.c (obsd_nat_target::pid_to_str): Fix typo in return
+       type.
+
+2019-07-25  Christian Biesinger  <cbiesinger@google.com>
+
+       * python/py-objfile.c (add_separate_debug_file): Fix comment about
+       this function's Python signature.
+
+
+2019-07-24  Christian Biesinger  <cbiesinger@google.com>
+
+       * compile/compile-object-load.c (compile_object_load): Pass GLOBAL_SCOPE.
+       * solib-spu.c (spu_lookup_lib_symbol): Pass GLOBAL_SCOPE.
+       * solib-svr4.c (elf_lookup_lib_symbol): Pass GLOBAL_SCOPE.
+       * symtab.c (lookup_global_symbol_from_objfile): Add a scope parameter.
+       * symtab.h (lookup_global_symbol_from_objfile): Likewise.
+
+
+2019-07-24  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+       * h8300-tdep.c (h8300_register_name_common): New.
+       h8300_register_name): Use h8300_register_name_common.
+       (h8300s_register_name): Likewise.
+       (h8300sx_register_name): Likewise.
+       (h8300h_register_nam): New.
+       (h8300_gdbarch_init): Use h8300h_register_name in h8300h machine.
+
+
+2019-07-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
+
+       * arm-tdep.c (arm_skip_cmse_entry): New function.
+       (arm_is_sgstubs_section): New function.
+       (arm_skip_stub): Add call to arm_skip_cmse_entry function.
+
+2019-07-22  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_win_info::make_invisible_and_set_new_height):
+       Don't self-assign.
+
+2019-07-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * c-typeprint.c (c_print_typedef): Pass -1 instead of 0 to
+       type_print.
+
+2019-07-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * symtab.c (search_symbols): Adjust msymbol matching type arrays
+       so that GDB doesn't match any msymbols when searching in the
+       TYPES_DOMAIN.
+       (print_symbol_info): Print using typedef_print or type_print based
+       on the type of the symbol.  Add updated FIXME comment moved from...
+       (_initialize_symtab): ... move and update FIXME comment to above.
+
+2019-07-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention adding -q option to "info types".
+       * symtab.c (struct info_types_options): New struct.
+       (info_types_options_defs): New variable.
+       (make_info_types_options_def_group): New function.
+       (info_types_command): Use gdb::option framework to parse options.
+       (info_types_command_completer): New function.
+       (_initialize_symtab): Extend the help text on "info types" and
+       register command completer.
+
+2019-07-21  Christian Biesinger  <cbiesinger@google.com>
+
+       * symtab.c (lookup_symbol_in_objfile_symtabs): Change int to block_enum.
+       (lookup_symbol_in_objfile): Change int to block_enum and add a
+       gdb_assert to make sure block_index is GLOBAL_BLOCK or STATIC_BLOCK.
+
+2019-07-20  Christian Biesinger  <cbiesinger@google.com>
+
+       * MAINTAINERS (Write After Approval): Add self.
+
+2019-07-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_push_dummy_code): Write a 4-byte nop
+       instruction to the dummy code region.
+
+2019-07-19  Tom Tromey  <tromey@adacore.com>
+
+       * contrib/ari/gdb_ari.sh: Mention C++11, not ISO C 90.
+       (ARGSUSED, PARAMS, __func__): Remove rules.
+
+2019-07-19  Alan Hayward  <alan.hayward@arm.com>
+
+       * arm-tdep.c (_initialize_arm_tdep): Remove xml tests.
+       * features/arm/arm-with-iwmmxt.c: Remove.
+       * features/arm/arm-with-iwmmxt.xml: Remove.
+       * features/arm/arm-with-m-fpa-layout.c: Remove.
+       * features/arm/arm-with-m-fpa-layout.xml: Remove.
+       * features/arm/arm-with-m-vfp-d16.c: Remove.
+       * features/arm/arm-with-m-vfp-d16.xml: Remove.
+       * features/arm/arm-with-m.c: Remove.
+       * features/arm/arm-with-m.xml: Remove.
+       * features/arm/arm-with-neon.c: Remove.
+       * features/arm/arm-with-neon.xml: Remove.
+       * features/arm/arm-with-vfpv2.c: Remove.
+       * features/arm/arm-with-vfpv2.xml: Remove.
+       * features/arm/arm-with-vfpv3.c: Remove.
+       * features/arm/arm-with-vfpv3.xml: Remove.
+
+2019-07-19  Alan Hayward  <alan.hayward@arm.com>
+
+       * arm-tdep.c (_initialize_arm_tdep): Add xml regression tests.
+
+2019-07-19  Alan Hayward  <alan.hayward@arm.com>
+
+       * arch/aarch32.c (aarch32_create_target_description): Create
+       target descriptions using features.
+       * arch/arm.c (arm_create_target_description)
+       (arm_create_mprofile_target_description): Likewise.
+       * arm-tdep.c (_initialize_arm_tdep): Remove tdesc init calls.
+
+2019-07-19  Alan Hayward  <alan.hayward@arm.com>
+
+       * Makefile.in: Add new files.
+       * aarch32-tdep.c: New file.
+       * aarch32-tdep.h: New file.
+       * aarch64-linux-nat.c (aarch64_linux_nat_target::read_description):
+       Call aarch32_read_description.
+       * arch/aarch32.c: New file.
+       * arch/aarch32.h: New file.
+       * arch/arm.c (arm_create_target_description)
+       (arm_create_mprofile_target_description): New function.
+       * arch/arm.h (arm_fp_type, arm_m_profile_type): New enum.
+       (arm_create_target_description)
+       (arm_create_mprofile_target_description): New declaration.
+       * arm-fbsd-tdep.c (arm_fbsd_read_description_auxv): Call
+       read_description functions.
+       * arm-linux-nat.c (arm_linux_nat_target::read_description):
+       Likewise.
+       * arm-linux-tdep.c (arm_linux_core_read_description): Likewise.
+       * arm-tdep.c (tdesc_arm_list): New variable.
+       (arm_register_g_packet_guesses): Call create description functions.
+       (arm_read_description) (arm_read_mprofile_description): New
+       function.
+       * arm-tdep.h (arm_read_description)
+       (arm_read_mprofile_description): Add declaration.
+       * configure.tgt: Add new files.
+
+2019-07-18  Guillaume LABARTHE  <guillaume.labarthe@gmail.com>
+
+       * top.c (new_ui_command): Open specified terminal just once.
+
+2019-07-18  Tom Tromey  <tromey@adacore.com>
+
+       * symtab.c (main_name): Constify return type.
+       * symfile.c (set_initial_language): Update.
+       * symtab.h (main_name): Constify return type.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-winsource.c (tui_update_source_window)
+       (tui_update_source_window_as_is)
+       (tui_update_source_windows_with_line): Remove return.
+       * tui/tui-disasm.c (tui_show_disassem)
+       (tui_show_disassem_and_update_source): Remove return.
+       * tui/tui.c (tui_reset): Remove return.
+       * tui/tui-wingeneral.c
+       (tui_check_and_display_highlight_if_needed): Remove return.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (parse_scrolling_args): Throw separate errors.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-winsource.h (struct tui_exec_info_window)
+       (struct tui_source_window_base): Move from tui-data.h.
+       * tui/tui-winsource.c: Move many method definitions from
+       elsewhere.  Remove "structuring" comments.
+       * tui/tui-wingeneral.c (tui_source_window_base::make_visible)
+       (tui_source_window_base::refresh_window): Move to
+       tui-winsource.c.
+       * tui/tui-win.c (tui_source_window_base::refresh_all)
+       (tui_source_window_base::update_tab_width)
+       (tui_source_window_base::set_new_height)
+       (tui_source_window_base::do_make_visible_with_new_height): Move to
+       tui-winsource.c.
+       * tui/tui-source.h: Update.
+       * tui/tui-source.c (tui_source_window_base::reset): Move to
+       tui-winsource.c.
+       * tui/tui-disasm.h: Update.
+       * tui/tui-data.h (struct tui_exec_info_window): Move to
+       tui-winsource.h.
+       (struct tui_source_window_base): Likewise.
+       * tui/tui-data.c (tui_source_window_base::clear_detail)
+       (tui_source_window_base, ~tui_source_window_base): Move to
+       tui-winsource.c.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_resize_all)
+       (tui_source_window_base::update_tab_width)
+       (tui_adjust_win_heights): Update.
+       (tui_win_info::make_invisible_and_set_new_height): Rename from
+       make_invisible_and_set_new_height.
+       * tui/tui-data.h (struct tui_win_info)
+       <make_invisible_and_set_new_height>: New method.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui.c: Update.
+       * tui/tui-source.h (struct tui_source_window): Move from
+       tui-data.h.
+       * tui/tui-layout.c: Update.
+       * tui/tui-disasm.c: Update.
+       * tui/tui-data.h (struct tui_source_window): Move to
+       tui-source.h.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-disasm.h (struct tui_disasm_window): Move from
+       tui-data.h.
+       * tui/tui-data.h (struct tui_disasm_window): Move to
+       tui-disasm.h.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.h (struct tui_data_item_window): Move from
+       tui-data.h.
+       * tui/tui-regs.c (tui_data_item_window): Move from tui-data.c.
+       * tui/tui-data.h (struct tui_data_item_window): Move to
+       tui-regs.h.
+       * tui/tui-data.c (~tui_data_item_window): Move to tui-regs.c.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui.c: Update.
+       * tui/tui-win.c (tui_cmd_window::do_make_visible_with_new_height)
+       (tui_cmd_window::max_height): Move to tui-command.c.
+       * tui/tui-layout.c: Update.
+       * tui/tui-data.h (struct tui_cmd_window): Move to tui-command.h.
+       * tui/tui-data.c (tui_cmd_window::clear_detail): Move to
+       tui-command.c.
+       * tui/tui-command.h (struct tui_cmd_window): Move from
+       tui-data.h.
+       * tui/tui-command.c: Remove "structuring" comments.
+       (tui_cmd_window::clear_detail)
+       (tui_cmd_window::do_make_visible_with_new_height)
+       (tui_cmd_window::max_height): Move from elsewhere.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-io.c (tui_dispatch_ctrl_char): Move from tui-command.c.
+       Now static.
+       * tui/tui-command.h (tui_dispatch_ctrl_char): Don't declare.
+       * tui/tui-command.c (tui_dispatch_ctrl_char): Move to tui-io.c.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui.c: Update.
+       * tui/tui-wingeneral.c (tui_data_window::refresh_window): Move to
+       tui-regs.c.
+       * tui/tui-windata.h: Remove file.
+       * tui/tui-windata.c: Remove file.
+       * tui/tui-win.c (tui_data_window::set_new_height)
+       (tui_data_window::do_make_visible_with_new_height): Move to
+       tui-regs.c.
+       * tui/tui-regs.h (struct tui_data_window): Move from tui-data.h.
+       * tui/tui-regs.c: Remove "structuring" comments.
+       (tui_data_window::first_data_item_displayed)
+       (tui_data_window::delete_data_content_windows)
+       (tui_data_window::erase_data_content)
+       (tui_data_window::display_all_data)
+       (tui_data_window::refresh_all)
+       (tui_data_window::do_scroll_vertical)
+       (tui_data_window::clear_detail, tui_data_window::set_new_height)
+       (tui_data_window::do_make_visible_with_new_height)
+       (tui_data_window::refresh_window): Move from elsewhere.
+       (_initialize_tui_regs): Move to end of file.
+       * tui/tui-layout.c: Update.
+       * tui/tui-hooks.c: Update.
+       * tui/tui-data.h (struct tui_data_window): Move to tui-regs.h.
+       * tui/tui-data.c (tui_data_window::clear_detail): Move to
+       tui-regs.c.
+       * Makefile.in (SUBDIR_TUI_SRCS): Remove tui-windata.c.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-io.c (tui_puts_internal): Call wrefresh if newline is
+       seen.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_source_window_base::set_new_height)
+       (tui_source_window_base::do_make_visible_with_new_height): Use
+       m_has_locator field directly.
+       * tui/tui-data.h (struct tui_win_info) <has_locator>: Remove
+       method.
+       (struct tui_source_window_base) <has_locator>: Likewise.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.h (tui_make_visible, tui_make_invisible):
+       Don't declare.
+       * tui/tui-wingeneral.c (tui_make_visible, tui_make_invisible):
+       Remove.
+       * tui/tui-win.c (tui_source_window_base::set_new_height)
+       (tui_source_window_base::set_new_height)
+       (make_invisible_and_set_new_height)
+       (tui_source_window_base::do_make_visible_with_new_height)
+       (tui_source_window_base::do_make_visible_with_new_height):
+       Update.
+       * tui/tui-layout.c (show_source_disasm_command, show_data)
+       (show_source_or_disasm_and_command): Update.
+       * tui/tui-layout.c (show_layout): Update.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (make_data_window): Remove.
+       (show_data): Unify creation and re-initialization cases.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (make_source_window, make_disasm_window):
+       Remove.
+       (show_data): Unify creation and re-initialization cases.
+
+2019-07-17  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (make_command_window): Remove.
+       (show_source_disasm_command, show_source_or_disasm_and_command):
+       Unify creation and re-initialization cases.
+
 2019-07-17  Tom Tromey  <tom@tromey.com>
 
        * tui/tui-layout.c (show_source_or_disasm_and_command): Unify
This page took 0.030436 seconds and 4 git commands to generate.