Make add_separate_debug_objfile static
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8355da596f731ad9db158be15de929b061e98094..7bcd2c7fbd0d48b76bee8c136fad7b53f87f92f0 100644 (file)
@@ -1,3 +1,150 @@
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (symbol_file_add_with_addrs): Pass "parent" to
+       objfile::make.
+       * objfiles.h (struct objjfile) <make>: No longer inline.
+       (add_separate_debug_objfile): Don't declare.
+       * objfiles.c (add_separate_debug_objfile): Now static.
+       (objfile::make): Move from objfiles.h.  Call
+       add_separate_debug_objfile.  Add "parent" parameter.
+
+2019-12-12  Tom Tromey  <tom@tromey.com>
+
+       * symfile.c (symbol_file_add_with_addrs): Use objfile::make.
+       * objfiles.h (struct objfile): Make constructor private.
+       <make>: New static method.
+       * jit.c (jit_object_close_impl): Update.
+
+2019-12-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * jit.c (jit_reader_try_read_symtab): Replace xmalloc/xfree with
+       gdb::byte_vector.
+
+2019-12-12  Tom Tromey  <tromey@adacore.com>
+
+       * xml-support.c (xml_fetch_content_from_file): Don't call
+       malloc_failure.
+       * utils.h (class gdb_argv): Remove malloc_failure comment.
+       * utils.c (gdb_argv::reset): Don't call malloc_failure.
+
+2019-12-12  Tom Tromey  <tromey@adacore.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add riscv-ravenscar-thread.o.
+       (HFILES_NO_SRCDIR): Add riscv-ravenscar-thread.h.
+       (ALLDEPFILES): Add riscv-ravenscar-thread.c.
+       * configure.tgt (riscv-*-*): Add riscv-ravenscar-thread.o.
+       * riscv-ravenscar-thread.c: New file.
+       * riscv-ravenscar-thread.h: New file.
+       * riscv-tdep.c (riscv_gdbarch_init): Call
+       register_riscv_ravenscar_ops.
+
+2019-12-12  Tom Tromey  <tromey@adacore.com>
+
+       * gdbsupport/thread-pool.c (set_thread_name): Use
+       ATTRIBUTE_UNUSED.
+
+2019-12-12  Luis Machado  <luis.machado@linaro.org>
+
+       * gdbsupport/safe-strerror.c: Don't include diagnostics.h.
+       (select_strerror_r): Use ATTRIBUTE_UNUSED instead of the diagnostics
+       macros.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_set_win_height_command): Call
+       tui_adjust_window_height.
+       (tui_adjust_win_heights, new_height_ok): Remove.
+       * tui/tui-layout.h (tui_adjust_window_height): Declare.
+       * tui/tui-layout.c (tui_adjust_window_height): New function.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_resize_all): Remove code, call
+       tui_apply_current_layout.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.h (tui_apply_current_layout): Declare.
+       * tui/tui-layout.c (standard_layouts, applied_layout): New
+       globals.
+       (tui_apply_current_layout): New function.
+       (show_layout): Set applied_layout.  Call
+       tui_apply_current_layout.
+       (show_source_command, show_disasm_command)
+       (show_source_disasm_command, show_data)
+       (show_source_or_disasm_and_command): Remove.
+       (initialize_layouts): New function.
+       (_initialize_tui_layout): Call initialize_layouts.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.h (class tui_layout_base)
+       (class tui_layout_window, class tui_layout_split): New.
+       * tui/tui-layout.c (tui_get_window_by_name)
+       (tui_layout_window::clone, tui_layout_window::apply)
+       (tui_layout_window::get_sizes, tui_layout_window::add_split)
+       (tui_layout_split::add_window, tui_layout_split::clone)
+       (tui_layout_split::get_sizes)
+       (tui_layout_split::set_weights_from_heights)
+       (tui_layout_split::adjust_size, tui_layout_split::apply): New
+       functions.
+       (tui_layout_split::add_split, tui_layout_split::add_split)
+       (tui_layout_split::set_weights_from_heights)
+       (tui_layout_split::set_weights_from_heights): New functions.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.c (tui_gen_win_info::make_window): Update.
+       * tui/tui-win.c (tui_adjust_win_heights, tui_resize_all): Update.
+       * tui/tui-layout.c (tui_gen_win_info::resize): Update.
+       * tui/tui-data.h (struct tui_point): Remove.
+       (struct tui_gen_win_info) <origin>: Remove.
+       <x, y>: New fields.
+       * tui/tui-command.c (tui_cmd_window::resize): Update.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-stack.h (struct tui_locator_window) <min_height>:
+       Implement.
+       * tui/tui-regs.h (struct tui_data_item_window) <min_height>:
+       Implement.
+       * tui/tui-data.h (struct tui_gen_win_info) <min_height>: New
+       method.
+       (struct tui_win_info) <min_height>: Implement.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-data.h (struct tui_gen_win_info) <can_box>: New method.
+       (struct tui_win_info) <can_box>: Update.
+
+2019-12-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-stack.h (struct tui_locator_window) <max_height>: New
+       method.
+       * tui/tui-regs.h (struct tui_data_item_window) <max_height>: New
+       method.
+       * tui/tui-data.h (struct tui_gen_win_info) <max_height>: New
+       method.
+       (struct tui_win_info) <max_height>: Now override.
+
+2019-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Create a new section for the next release branch.
+       Rename the section of the current branch, now that it has
+       been cut.
+
+2019-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 9 branch created (27f7b2f64062ac9e52afc60509263c2702a9ebd0):
+       * version.in: Bump version to 10.0.50.DATE-git.
+
+2019-12-11  Tom Tromey  <tromey@adacore.com>
+
+       PR build/25268:
+       * gdbsupport/thread-pool.c (set_thread_name): New function.
+       (thread_pool::set_thread_count): Don't call pthread_setname_np.
+       (thread_pool::thread_function): Call set_thread_name.
+
 2019-12-11  Tom Tromey  <tromey@adacore.com>
 
        * fbsd-tdep.c (fbsd_core_info_proc_status): Cast result of
This page took 0.029197 seconds and 4 git commands to generate.