Fix compiler warning in linux-namespaces.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c4a1179ce0bc51d57910d3ae87f3fe1a330c5f5e..002825312c3f1e93f8bf2572b81beaf830d4c779 100644 (file)
@@ -1,3 +1,265 @@
+2019-08-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * nat/linux-namespaces.c (mnsh_main): Initialize fd (to -1).
+
+2019-08-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-utils.c (info_print_options_defs): Delete.
+       (make_info_print_options_def_group): Delete.
+       (extract_info_print_options): Delete.
+       (info_print_command_completer): Delete.
+       (info_print_args_help): Add extra parameter, and optionally
+       include text about -n flag.
+       * cli/cli-utils.h (struct info_print_options): Delete.
+       (extract_info_print_options): Delete declaration.
+       (info_print_command_completer): Delete declaration.
+       (info_print_args_help): Add extra parameter, extend header
+       comment.
+       * python/python.c (gdbpy_rbreak): Pass additional parameter to
+       search_symbols.
+       * stack.c (struct info_print_options): New type.
+       (info_print_options_defs): New file scoped variable.
+       (make_info_print_options_def_group): New static function.
+       (info_print_command_completer): New static function.
+       (info_locals_command): Update to use new local functions.
+       (info_args_command): Likewise.
+       (_initialize_stack): Add extra parameter to calls to
+       info_print_args_help.
+       * symtab.c (search_symbols): Add extra parameter, use this to
+       possibly excluse non-debug symbols.
+       (symtab_symbol_info): Add extra parameter, which is passed on to
+       search_symbols.
+       (struct info_print_options): New type.
+       (info_print_options_defs): New file scoped variable.
+       (make_info_print_options_def_group): New static function.
+       (info_print_command_completer): New static function.
+       (info_variables_command): Update to use local functions, and pass
+       extra parameter through to symtab_symbol_info.
+       (info_functions_command): Likewise.
+       (info_types_command): Pass additional argument through to
+       symtab_symbol_info.
+       (rbreak_command): Pass extra argument to search_symbols.
+       (_initialize_symtab): Add extra arguments for calls to
+       info_print_args_help, and update help text for 'info variables',
+       'whereis', and 'info functions' commands.
+       * symtab.h (search_symbols): Add extra argument to declaration.
+       * NEWS: Mention new flags.
+
+2019-08-26  Christian Biesinger  <cbiesinger@google.com>
+
+       * symtab.c (lookup_static_symbol): Call the new function (and move
+       it down to be next to lookup_global_symbol).
+       (struct global_sym_lookup_data): Add block_enum member and rename to...
+       (struct global_or_static_sym_lookup_data): ...this.
+       (lookup_symbol_global_iterator_cb): Pass block_index instead of
+       GLOBAL_BLOCK to lookup_symbol_in_objfile and rename to...
+       (lookup_symbol_global_or_static_iterator_cb): ...this.
+       (lookup_global_or_static_symbol): New function.
+       (lookup_global_symbol): Call new function.
+
+2019-08-26  Tom de Vries  <tdevries@suse.de>
+
+       PR c++/24852
+       * break-catch-throw.c (fetch_probe_arguments): Improve error mesage
+       when pc_probe.prob == NULL.
+
+2019-08-25  Simon Marchi  <simon.marchi@efficios.com>
+
+       * dwarf2read.c (dw2_debug_names_iterator::next): Rename local
+       variable symbol_linkage to symbol_linkage_.
+
+2019-08-25  Simon Marchi  <simon.marchi@efficios.com>
+
+       * dwarf2read.c (dw2_debug_names_iterator::next): Use enum to
+       represent whether the symbol is static, dynamic, or we don't
+       know.
+
+2019-08-25  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+        * gdb/rx-tdep.c (rx_register_names): New.
+        (rx_register_name): Delete.
+        (rx_psw_type): Delete.
+        (rx_fpsw_type): Delete.
+        (rx_register_type): Delete.
+        (rx_gdbarch_init): Convert target-descriptions.
+        (_initialize_rx_tdep): Add initialize_tdesc_rx.
+        * gdb/features/Makefile: Add rx.xml.
+        * gdb/features/rx.xml: New.
+        * gdb/features/rx.c: Generated.
+        * gdb/NEWS: Mention target description support.
+
+2019-08-22  Christian Biesinger  <cbiesinger@google.com>
+
+       * symtab.c (symbol_cache_lookup): Always initialize *bsc_ptr and
+       *slot_ptr.
+
+2019-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * configure.ac: Don't check for 'dlfcn.h' (moved to
+       gdbsupport/common.m4).
+       * Makefile.in (COMMON_SFILES): Move 'gdb-dlfcn.c' to
+       'gdbsupport/'.
+       (HFILES_NO_SRCDIR): Likewise, for 'gdb-dlfcn.h'.
+       * compile/compile-c-support.c: Include
+       'gdbsupport/gdb-dlfcn.h'.
+       * gdbsupport/common.m4: Check for 'dlfcn.h'.
+       * gdb-dlfcn.c: Move to...
+       * gdbsupport/gdb-dlfcn.c: ... here.
+       * gdb-dlfcn.h: Move to...
+       * gdbsupport/gdb-dlfcn.h: ... here.
+
+2019-08-23  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * nios2-tdep.c (struct reg_value): Improve comments.  Make
+       the offset field signed.
+
+2019-08-22  Christian Biesinger  <cbiesinger@google.com>
+
+       * python/lib/gdb/__init__.py (_execute_file): New function.
+       * python/python.c (python_run_simple_file): Call gdb._execute_file
+       on Windows.
+
+2019-08-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * f-exp.y (yylex): Remove is_a_field_of_this local variable, and
+       all uses as this was never set to anything but a zero value.
+
+2019-08-21  Bogdan Harjoc  <harjoc@gmail.com>
+
+       * cli/cli-cmds.c (with_command_1): Error out if no arguments.
+
+2019-08-21  Christian Biesinger  <cbiesinger@google.com>
+
+       * tui/tui-data.h (tui_gen_win_info): Add an =default
+       move constructor, required by some GCC versions.
+
+2019-08-21  Jinke Fan  <fanjinke51@yeah.net>
+
+       * go32-nat.c (go32_sysinfo): Add hygon_p.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.h (struct tui_data_window) <last_regs_line_no,
+       line_from_reg_element_no, first_reg_element_no_inline,
+       display_all_data, delete_data_content_windows,
+       erase_data_content>: Now private.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.c (box_win): Change type of highlight_flag.
+       (tui_unhighlight_win, tui_highlight_win)
+       (tui_win_info::make_window): Update.
+       * tui/tui-data.h (HILITE, NO_HILITE): Remove.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-data.h (PROC_PREFIX, LINE_PREFIX, PC_PREFIX)
+       (MIN_LINE_WIDTH, MIN_PROC_WIDTH, MAX_TARGET_WIDTH)
+       (MAX_PID_WIDTH): Move to tui-stack.c.
+       * tui/tui-stack.c (PROC_PREFIX, LINE_PREFIX, PC_PREFIX)
+       (MIN_LINE_WIDTH, MIN_PROC_WIDTH, MAX_TARGET_WIDTH)
+       (MAX_PID_WIDTH): Move from tui-data.h.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.h (tui_make_window): Don't declare.
+       * tui/tui-wingeneral.c (box_win): Change type of win_info.
+       (box_win): Update.
+       (tui_gen_win_info::make_window): Rename from tui_make_window.
+       (tui_win_info::make_window): New method.
+       (tui_gen_win_info::make_visible): Update.
+       * tui/tui-source.c (tui_source_window::set_contents): Update.
+       * tui/tui-regs.c (tui_data_window::show_register_group): Update.
+       (tui_data_window::display_registers_from): Update.
+       * tui/tui-layout.c (tui_gen_win_info::resize): Update.
+       * tui/tui-data.h (struct tui_gen_win_info) <make_window>:
+       Declare.
+       <can_box>: Remove.
+       <title>: Remove.
+       (struct tui_win_info) <make_window>: Declare.
+       <can_box>: Now virtual.
+       <title>: New member.
+       * tui/tui-data.c (~tui_gen_win_info): Don't free title.
+       * tui/tui-command.c (tui_cmd_window::resize): Update.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.h (struct tui_data_window) <display_regs>: Remove.
+       * tui/tui-regs.c (tui_data_window::show_registers): Update.
+       (tui_data_window::check_register_values): Update.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.h (struct tui_data_window): Use
+       DISABLE_COPY_AND_ASSIGN.
+       <regs_content>: Change type, removing unique_ptr.
+       <tui_data_window>: Add move constructor.
+       * tui/tui-regs.c (tui_data_window::show_registers)
+       (tui_data_window::show_register_group)
+       (tui_data_window::display_registers_from)
+       (tui_data_window::display_registers_from)
+       (tui_data_window::first_data_item_displayed)
+       (tui_data_window::delete_data_content_windows)
+       (tui_data_window::rerender, tui_data_window::refresh_window)
+       (tui_data_window::check_register_values): Update.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.h (struct tui_data_window) <show_registers,
+       show_register_group>: Declare.
+       (tui_show_register_group): Don't declare.
+       * tui/tui-regs.c (tui_data_window::show_registers): Rename from
+       tui_show_registers.
+       (tui_data_window::show_register_group): Rename from
+       tui_show_register_group.
+       (tui_data_window::check_register_values, tui_reg_command):
+       Update.
+       * tui/tui-layout.c (tui_set_layout): Update.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.h (struct tui_data_window) <check_register_values>:
+       Declare.
+       (tui_check_register_values): Don't declare.
+       * tui/tui-regs.c (tui_data_window::check_register_values): Rename
+       from tui_check_register_values.
+       * tui/tui-hooks.c (tui_register_changed): Update.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.c (tui_reg_layout): Move later.
+       (tui_show_registers): Don't enable TUI mode or change layout.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.h (struct tui_data_item_window)
+       <~tui_data_item_window>: Remove.
+       <content>: Now a unique_xmalloc_ptr.
+       * tui/tui-regs.c (tui_register_format): Return a
+       unique_xmalloc_ptr.
+       (tui_get_register): Update.
+       (~tui_data_item_window): Remove.
+       (tui_data_window::display_registers_from, tui_display_register):
+       Update.
+       * tui/tui-io.h (tui_expand_tabs): Update.
+       * tui/tui-io.c (tui_expand_tabs): Return a unique_xmalloc_ptr.
+       Remove "col" parameter.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.h (struct tui_data_item_window) <value>: Remove
+       field.
+       * tui/tui-regs.c (~tui_data_item_window): Update.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.c (tui_register_format, tui_get_register): Move
+       earlier.
+
+2019-08-20  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.c (tui_reg_command): Remove NULL check.
+
 2019-08-20  Tom Tromey  <tom@tromey.com>
 
        * tui/tui-source.h (struct tui_source_window): Update.
This page took 0.027022 seconds and 4 git commands to generate.