Arm: Change CRC from fpu feature to archititectural extension
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ee9a464c1bf2fb2e66b50c4afa5b3e54bb7c0d37..81c6690602f12619bf7377c2f5b1990dc7c1fcfa 100644 (file)
@@ -1,3 +1,296 @@
+2019-11-21  Christian Biesinger  <cbiesinger@google.com>
+
+       * Makefile.in: Update.
+       * demangle.c: Rename to...
+       * gdb-demangle.c: ..this.
+       (is_cplus_marker): Change return type to bool.
+       (_initialize_demangler): Rename to...
+       (_initialize_gdb_demangle): ...this.
+       * gdb-demangle.h (is_cplus_marker): Change return type to bool.
+       * symtab.h (demangle): Remove declaration; instead include
+       gdb-demangle.h.
+
+2019-11-21  Tom Tromey  <tromey@adacore.com>
+
+       * gdbsupport/format.c (format_pieces): Parse %I64d.
+       * unittests/format_pieces-selftests.c (test_windows_formats): New
+       function.
+       (run_tests): Call it.
+
+2019-11-21  Peeter Joot  <peeter.joot@lzlabs.com>
+
+       Byte reverse display of variables with DW_END_big, DW_END_little
+       (DW_AT_endianity) dwarf attributes if different than the native
+       byte order.
+       * ada-lang.c (ada_value_binop):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * ada-valprint.c (printstr):
+       (ada_val_print_string):
+       * ada-lang.c (value_pointer):
+       (ada_value_binop):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * c-lang.c (c_get_string):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * c-valprint.c (c_val_print_array):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * cp-valprint.c (cp_print_class_member):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * dwarf2loc.c (rw_pieced_value):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * dwarf2read.c (read_base_type): Handle DW_END_big,
+       DW_END_little
+       * f-lang.c (f_get_encoding):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * findvar.c (default_read_var_value):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * gdbtypes.c (check_types_equal):
+       Require matching TYPE_ENDIANITY_NOT_DEFAULT if set.
+       (recursive_dump_type): Print TYPE_ENDIANITY_BIG,
+       and TYPE_ENDIANITY_LITTLE if set.
+       (type_byte_order): new function.
+       * gdbtypes.h (TYPE_ENDIANITY_NOT_DEFAULT): New macro.
+       (struct main_type) <flag_endianity_not_default>:
+       New field.
+       (type_byte_order): New function.
+       * infcmd.c (default_print_one_register_info):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * p-lang.c (pascal_printstr):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * p-valprint.c (pascal_val_print):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * printcmd.c (print_scalar_formatted):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * solib-darwin.c (darwin_current_sos):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * solib-svr4.c (solib_svr4_r_ldsomap):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * stap-probe.c (stap_modify_semaphore):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * target-float.c (target_float_same_format_p):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * valarith.c (scalar_binop):
+       (value_bit_index):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * valops.c (value_cast):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * valprint.c (generic_emit_char):
+       (generic_printstr):
+       (val_print_string):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * value.c (unpack_long):
+       (unpack_bits_as_long):
+       (unpack_value_bitfield):
+       (modify_field):
+       (pack_long):
+       (pack_unsigned_long):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * findvar.c (unsigned_pointer_to_address):
+       (signed_pointer_to_address):
+       (unsigned_address_to_pointer):
+       (address_to_signed_pointer):
+       (default_read_var_value):
+       (default_value_from_register):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * gnu-v3-abi.c (gnuv3_make_method_ptr):
+       Use type_byte_order instead of gdbarch_byte_order.
+       * riscv-tdep.c (riscv_print_one_register_info):
+       Use type_byte_order instead of gdbarch_byte_order.
+
+2019-11-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * top.c (current_ui_gdb_stdout_ptr): Spell out by hand.
+       (current_ui_gdb_stdin_ptr): Likewise.
+       (current_ui_gdb_stderr_ptr): Likewise.
+       (current_ui_gdb_stdlog_ptr): Likewise.
+       (current_ui_current_uiout_ptr): Likewise.
+       (gen_ret_current_ui_field_ptr): Remove.
+
+2019-11-21  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24956
+       * cli/cli-script.c (execute_control_command): Only switch to
+       INTERP_CONSOLE's ui_out when INTERP_MI is active.
+
+2019-11-19  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-win.c (tui_partial_win_by_name): Move from tui-data.c.
+       Now static.  Change type of "name".
+       (tui_set_win_height_command): Don't copy "arg".
+       * tui/tui-data.h (tui_partial_win_by_name): Don't declare.
+       * tui/tui-data.c (tui_partial_win_by_name): Move to tui-win.c.
+
+2019-11-19  Ali Tamur <tamur@google.com>
+
+       * dwarf2read.c (dw2_get_file_names_reader): Replace "if (attr)" with
+       "if (attr != nullptr)".
+       (dwarf2_find_base_address): Likewise.
+       (dwarf2_build_include_psymtabs): Likewise.
+       (read_cutu_die_from_dwo): Likewise.
+       (read_func_scope): Likewise.
+       (read_call_site_scope): Likewise.
+       (dwarf2_get_pc_bounds): Likewise.
+       (dwarf2_record_block_ranges): Likewise.
+       (dwarf2_add_field): Likewise.
+       (dwarf2_add_member_fn): Likewise.
+       (read_structure_type): Likewise.
+       (read_enumeration_type): Likewise.
+       (read_array_type): Likewise.
+       (read_array_order): Likewise.
+       (read_set_type): Likewise.
+       (read_common_block): Likewise.
+       (read_tag_reference_type): Likewise.
+       (read_tag_string_type): Likewise.
+       (read_subroutine_type): Likewise.
+       (read_base_type): Likewise.
+       (read_subrange_type): Likewise.
+       (new_symbol): Likewise.
+       (prepare_one_comp_unit): Likewise.
+
+2019-11-19  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_nat_target::attach): Include GetLastError
+       result in error when DebugActiveProcess fails.
+
+2019-11-18  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       https://bugzilla.redhat.com/show_bug.cgi?id=1765117
+       * target.c (target_stack::push): Call 'unpush' if there's a
+       target on top of the stack.
+
+2019-11-18  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * python/py-block.c (blpy_dealloc): Call tp_free.
+       (blpy_block_syms_dealloc): Likewise.
+       * python/py-finishbreakpoint.c (bpfinishpy_dealloc): Likewise.
+       * python/py-inferior.c (infpy_dealloc): Likewise.
+       * python/py-lazy-string.c (stpy_dealloc): Likewise.
+       * python/py-linetable.c (ltpy_iterator_dealloc): Likewise.
+       * python/py-symbol.c (sympy_dealloc): Likewise.
+       * python/py-symtab.c (stpy_dealloc): Likewise.
+       * python/py-type.c (typy_iterator_dealloc): Likewise.
+
+2019-11-18  Christian Biesinger  <cbiesinger@google.com>
+
+       * symtab.h (struct symbol) <owner>: Initialize explicitly in the
+       constructor instead of using a class initializer.
+
+2019-11-15  Christian Biesinger  <cbiesinger@google.com>
+
+       * Makefile.in: Replace {posix,mingw}-strerror.c with safe-strerror.c.
+       * configure: Regenerate.
+       * configure.ac: Don't source common.host.
+       * gdbsupport/common.host: Remove.
+       * gdbsupport/mingw-strerror.c: Remove.
+       * gdbsupport/posix-strerror.c: Rename to...
+       * gdbsupport/safe-strerror.c: ...this.
+
+2019-11-15  Christian Biesinger  <cbiesinger@google.com>
+
+       * maint.c (scoped_command_stats::print_time): Use localtime_r
+       instead of localtime (provided through gnulib if necessary).
+       * nat/linux-osdata.c (time_from_time_t): Use ctime_r instead
+       of ctime.
+
+2019-11-15  Christian Biesinger  <cbiesinger@google.com>
+
+       * gdbsupport/common-defs.h: Include time.h before pathmax.h to
+       avoid compile errors.
+
+2019-11-15  Christian Biesinger  <cbiesinger@google.com>
+
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * gdbsupport/common.m4: No longer check for strerror_r.
+       * gdbsupport/posix-strerror.c (safe_strerror): Always call the
+       POSIX version of strerror_r, now that gnulib provides it if
+       necessary.
+
+2019-11-14  Christian Biesinger  <cbiesinger@google.com>
+
+       * README (`configure' options): Update.
+
+2019-11-14  Tom Tromey  <tromey@adacore.com>
+
+       * eval.c (evaluate_subexp_standard) <BINOP_ASSIGN>: Do not pass an
+       expected type for the RHS if the LHS is a convenience variable.
+
+2019-11-14  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * unittests/vec-utils-selftests.c (unordered_remove_tests::obj):
+       Provide explicit default and copy constructor.
+
+2019-11-14  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * python/py-finishbreakpoint.c (gdbpy_breakpoint_created):
+       only call Py_INCREF (newbp) in the bppy_pending_object case.
+
+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.
This page took 0.029365 seconds and 4 git commands to generate.