Remove symbol-related static asserts
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e886480d62d02c3a5c58769e9417869d40b922ed..be4c5a51f1360041cfdee269f3ef46a4604ba597 100644 (file)
@@ -1,3 +1,189 @@
+2019-11-13  Tom Tromey  <tromey@adacore.com>
+
+       PR build/25182:
+       * psympriv.h (partial_symbol): Remove static assert.
+       * symtab.h (general_symbol_info, symbol): Remove static assert.
+
+2019-11-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdbsupport/format.c (format_pieces::format_pieces): Support
+       printf 'z' size modifier.
+       * gdbsupport/format.h (enum argclass): Add size_t_arg.
+       * printcmd.c (ui_printf):  Handle size_t_arg.
+       * ui-out.c (ui_out::vmessage): Likewise.
+       * unittests/format_pieces-selftests.c (test_format_int_sizes): New
+       function.
+       (run_tests): Call test_format_int_sizes.
+
+2019-11-12  Christian Biesinger  <cbiesinger@google.com>
+
+       * ada-exp.y (write_ambiguous_var): Update.
+       * buildsym.c (add_symbol_to_list): Update.
+       * dwarf2read.c (read_variable): Update.
+       (new_symbol): Update.
+       * jit.c (finalize_symtab): Update.
+       * language.c (language_alloc_type_symbol): Update.
+       * symtab.c (fixup_symbol_section): Update.
+       (initialize_objfile_symbol_1): Move code to...
+       (initialize_objfile_symbol): ...here. Remove now-unnecessary memset.
+       (allocate_symbol): Update.
+       (allocate_template_symbol): Update.
+       (get_symbol_address): Update.
+       * symtab.h (struct symbol): Inherit from general_symbol_info instead
+       of having as a field, and add a constructor.
+       (SYMBOL_VALUE): Update.
+       (SYMBOL_VALUE_ADDRESS): Update.
+       (SET_SYMBOL_VALUE_ADDRESS): Update.
+       (SYMBOL_VALUE_BYTES): Update.
+       (SYMBOL_VALUE_COMMON_BLOCK): Update.
+       (SYMBOL_BLOCK_VALUE): Update.
+       (SYMBOL_VALUE_CHAIN): Update.
+       (SYMBOL_LANGUAGE): Update.
+       (SYMBOL_SECTION): Update.
+       (SYMBOL_OBJ_SECTION): Update.
+       (SYMBOL_SET_LANGUAGE): Update.
+       (SYMBOL_SET_LINKAGE_NAME): Update.
+       (SYMBOL_SET_NAMES): Update.
+       (SYMBOL_NATURAL_NAME): Update.
+       (SYMBOL_LINKAGE_NAME): Update.
+       (SYMBOL_DEMANGLED_NAME): Update.
+       (SYMBOL_SEARCH_NAME): Update.
+       (SYMBOL_MATCHES_SEARCH_NAME): Update.
+       (struct symbol): Update.
+       (struct template_symbol): Update.
+       (struct rust_vtable_symbol): Update.
+       * xcoffread.c (SYMBOL_DUP): Update.
+
+2019-11-12  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (show_layout): Set current_layout.
+       (show_source_disasm_command, show_data)
+       (show_source_or_disasm_and_command): Don't set current_layout.
+
+2019-11-12  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (_initialize_tui_layout): Move to end.
+
+2019-11-12  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (resize_message): New global.
+       (show_tui_resize_message): New function.
+       (tui_async_resize_screen): Print message if requested.
+       (_initialize_tui_win): Add tui-resize-message setting.
+       * NEWS: Add entry for new commands.
+
+2019-11-11  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui.c (tui_initialize_readline): Add new bindable readline
+       functions.
+
+2019-11-11  Christian Biesinger  <cbiesinger@google.com>
+
+       * nat/linux-osdata.c (user_from_uid): Use getpwuid_r.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-symbol.c (gdbpy_lookup_static_symbols): New
+       function.
+       * python/python-internal.h (gdbpy_lookup_static_symbols):
+       Declare new function.
+       * python/python.c (python_GdbMethods): Add
+       gdb.lookup_static_symbols method.
+       * NEWS: Mention gdb.lookup_static_symbols.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-symbol.c (gdbpy_lookup_static_symbol): Lookup in
+       static block of current object file first.  Also fix typo in
+       header comment.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (set_last_displayed_sal): Delete.
+       (last_displayed_sal_valid): Delete.
+       (last_displayed_pspace): Delete.
+       (last_displayed_addr): Delete.
+       (last_displayed_symtab): Delete.
+       (last_displayed_line): Delete.
+       (class last_displayed_symtab_info_type): New.
+       (last_displayed_symtab_info): New static global variable.
+       (print_frame_info): Call methods on last_displayed_symtab_info.
+       (clear_last_displayed_sal): Update header comment, and make use of
+       last_displayed_symtab_info.
+       (last_displayed_sal_is_valid): Likewise.
+       (get_last_displayed_pspace): Likewise.
+       (get_last_displayed_addr): Likewise.
+       (get_last_displayed_symtab): Likewise.
+       (get_last_displayed_line): Likewise.
+       (get_last_displayed_sal): Likewise.
+       * stack.h (clear_last_displayed_sal): Update header comment.
+       (last_displayed_sal_is_valid): Likewise.
+       (get_last_displayed_pspace): Likewise.
+       (get_last_displayed_addr): Likewise.
+       (get_last_displayed_symtab): Likewise.
+       (get_last_displayed_line): Likewise.
+       (get_last_displayed_sal): Likewise.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (frame_show_address): Convert return type to bool.
+       * stack.h (frame_show_address): Likewise, and update header
+       comment.
+
+2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add new file to the list.
+       * unittests/vec-utils-selftests.c: New file.
+       * gdbsupport/gdb_vecs.h (unordered_remove): Avoid self move assign.
+
+2019-11-10  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.c (tui_unhighlight_win): Use can_box.
+       (tui_highlight_win): Likewise.
+       (tui_win_info::check_and_display_highlight_if_needed): Likewise.
+       * tui/tui-data.h (struct tui_win_info) <can_highlight>: Remove.
+       * tui/tui-command.h (struct tui_cmd_window) <tui_cmd_window>:
+       Don't set can_highlight.
+
+2019-11-10  Tom Tromey  <tom@tromey.com>
+
+       * cli/cli-style.h (class cli_style_option) <cli_style_option>:
+       Remove unused declaration.
+
+2019-11-08  Tom Tromey  <tromey@adacore.com>
+
+       * top.c (read_command_file): Update.
+       (command_line_input): Make return type const.
+       * python/py-gdb-readline.c: Update.
+       * linespec.c (decode_line_2): Update.
+       * defs.h (command_line_input): Make return type const.
+       * cli/cli-script.c (read_next_line): Make return type const.
+       * ada-lang.c (get_selections): Update.
+
+2019-11-06  Christian Biesinger  <cbiesinger@google.com>
+
+       * linux-tdep.c (linux_info_proc): Use strtok_r instead of strtok.
+       * mi/mi-main.c (output_cores): Likewise.
+       * nat/linux-osdata.c (linux_xfer_osdata_cpus): Likewise.
+       (linux_xfer_osdata_modules): Likewise.
+       * remote.c (register_remote_support_xml): Likewise.
+       * sparc64-tdep.c (adi_is_addr_mapped): Likewise.
+       * xml-syscall.c (syscall_create_syscall_desc): Likewise.
+
+2019-11-06  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-interp.c: Don't include readline.h.
+       * tui/tui-hooks.c: Don't include readline.h.
+       * symmisc.c: Include tilde.h, not readline.h.
+       * symfile.c: Include tilde.h, not readline.h.
+       * source.c: Include tilde.h, not readline.h.
+       * solib.c: Include tilde.h, not readline.h.
+       * psymtab.c: Include tilde.h, not readline.h.
+       * exec.c: Include tilde.h, not readline.h.
+       * corelow.c: Include tilde.h, not readline.h.
+       * cli/cli-dump.c: Include tilde.h, not readline.h.
+       * cli/cli-cmds.c: Don't include readline.h.
+
 2019-11-05  Tom Tromey  <tom@tromey.com>
 
        * tui/tui-disasm.c (struct tui_asm_line) <addr_size>: New member.
This page took 0.035536 seconds and 4 git commands to generate.