Move gdb_select.h to gdbsupport/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9e5c1cb3ae00bcf9458f9bcce9ffb0a8c4c3d19b..d8be389e01a51dc751740d3cc317deb744577ee2 100644 (file)
@@ -1,3 +1,840 @@
+2020-04-13  Tom Tromey  <tom@tromey.com>
+
+       * gdb_select.h: Move to ../gdbsupport/.
+       * event-loop.c: Update include path.
+       * top.c: Update include path.
+       * ser-base.c: Update include path.
+       * ui-file.c: Update include path.
+       * ser-tcp.c: Update include path.
+       * guile/scm-ports.c: Update include path.
+       * posix-hdep.c: Update include path.
+       * ser-unix.c: Update include path.
+       * gdb_usleep.c: Update include path.
+       * mingw-hdep.c: Update include path.
+       * inflow.c: Update include path.
+       * infrun.c: Update include path.
+       * event-top.c: Update include path.
+
+2020-04-13  Tom Tromey  <tom@tromey.com>
+
+       * configure: Rebuild.
+       * configure.ac: Remove checks that are now in GDB_AC_COMMON.
+
+2020-04-13  Tom Tromey  <tom@tromey.com>
+
+       * event-loop.h (start_event_loop): Don't declare.
+       * event-loop.c (start_event_loop): Move...
+       * main.c (start_event_loop): ...here.  Now static.
+
+2020-04-13  Sergio Durigan Junior  <sergiodj@sergiodj.net>
+
+       * MAINTAINERS: Update my email address.
+
+2020-04-12  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c (nbsd_nat_target::info_proc): Add IP_MINIMAL and
+       IP_ALL.
+
+2020-04-12  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c (nbsd_pid_to_cmdline): Add.
+        (nbsd_nat_target::info_proc): Add do_cmdline.
+
+2020-04-12  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c (nbsd_pid_to_cwd): Add.
+        (nbsd_nat_target::info_proc): Add do_cwd.
+
+2020-04-12  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c (nbsd_nat_target::info_proc): Add do_exe.
+
+2020-04-11  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c; Include "nbsd-tdep.h" and "gdbarch.h".
+       * nbsd-nat.c (nbsd_nat_target::find_memory_regions)
+       (nbsd_nat_target::info_proc): New functions.
+       * nbsd-nat.c (kinfo_get_vmmap): New function.
+       * nbsd-nat.c (nbsd_nat_target::info_proc) Use
+       nbsd_info_proc_mappings_header and nbsd_info_proc_mappings_entry.
+       * nbsd-tdep.c (nbsd_info_proc_mappings_header)
+       (nbsd_info_proc_mappings_entry, nbsd_vm_map_entry_flags): New
+       functions.
+       * nbsd-tdep.c (KINFO_VME_PROT_READ, KINFO_VME_PROT_WRITE)
+       (KINFO_VME_PROT_EXEC, KINFO_VME_FLAG_COW)
+       (KINFO_VME_FLAG_NEEDS_COPY, KINFO_VME_FLAG_NOCOREDUMP)
+       (KINFO_VME_FLAG_PAGEABLE, KINFO_VME_FLAG_GROWS_UP)
+       (KINFO_VME_FLAG_GROWS_DOWN): New.
+
+2020-04-10  Artur Shepilko  <nomadbyte@gmail.com>
+
+       * utils.c (copy_bitwise): Use unsigned 0 constant as operand of
+       bit shift.
+
+2020-04-10  Tom Tromey  <tromey@adacore.com>
+
+       * symfile.c (symbol_file_add_separate): Preserve OBJF_MAINLINE.
+
+2020-04-10  Tom Tromey  <tromey@adacore.com>
+
+       * symtab.c (get_symbol_address, get_msymbol_address): Skip
+       separate debug files.
+
+2020-04-10  Hannes Domani  <ssbssa@yahoo.de>
+
+       * nat/windows-nat.c (STATUS_WX86_BREAKPOINT, STATUS_WX86_SINGLE_STEP):
+       Move to...
+       * nat/windows-nat.h (STATUS_WX86_BREAKPOINT, STATUS_WX86_SINGLE_STEP):
+       ... here.
+       * windows-nat.c (windows_nat_target::get_windows_debug_event):
+       Check for STATUS_WX86_BREAKPOINT.
+       (windows_nat_target::wait): Same.
+
+2020-04-10  Tom de Vries  <tdevries@suse.de>
+
+       PR cli/25808
+       * python/lib/gdb/__init__.py: Initialize lexer with stripnl=False.
+
+2020-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * MAINTAINERS (Global Maintainers): Add Tom de Vries.
+       (Write After Approval): Remove Tom de Vries.
+
+2020-04-09  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       revert partially:
+       2020-04-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+        * buildsym.c (record_line): Fix undefined behavior and preserve
+        lines at eof.
+
+2020-04-09  Kamil Rytarowski  <n54@gmx.com>
+
+       * auxv.h (svr4_auxv_parse): New.
+       * auxv.c (default_auxv_parse): Split into default_auxv_parse
+       and generic_auxv_parse.
+       (svr4_auxv_parse): Add.
+       * obsd-tdep.c: Include "auxv.h".
+       (obsd_auxv_parse): Remove.
+       (obsd_init_abi): Remove comment.
+       (obsd_init_abi): Change set_gdbarch_auxv_parse passed argument
+       from `obsd_auxv_parse' to `svr4_auxv_parse'.
+       * nbsd-tdep.c: Include "auxv.h".
+       (nbsd_init_abi): Call set_gdbarch_auxv_parse.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * nat/windows-nat.h (last_wait_event): Don't declare.
+       (wait_for_debug_event): Update comment.
+       * nat/windows-nat.c (last_wait_event): Now static.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (wait_for_debug_event): Move to
+       nat/windows-nat.c.
+       * nat/windows-nat.h (wait_for_debug_event): Declare.
+       * nat/windows-nat.c (wait_for_debug_event): Move from
+       windows-nat.c.  No longer static.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (get_windows_debug_event): Use
+       fetch_pending_stop.
+       * nat/windows-nat.h (fetch_pending_stop): Declare.
+       * nat/windows-nat.c (fetch_pending_stop): New function.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_continue): Use matching_pending_stop and
+       continue_last_debug_event.
+       * nat/windows-nat.h (matching_pending_stop)
+       (continue_last_debug_event): Declare.
+       * nat/windows-nat.c (DEBUG_EVENTS): New define.
+       (matching_pending_stop, continue_last_debug_event): New
+       functions.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (MS_VC_EXCEPTION): Move to nat/windows-nat.c.
+       (handle_exception_result): Move to nat/windows-nat.h.
+       (DEBUG_EXCEPTION_SIMPLE): Remove.
+       (windows_nat::handle_ms_vc_exception): New function.
+       (handle_exception): Move to nat/windows-nat.c.
+       (get_windows_debug_event): Update.
+       (STATUS_WX86_BREAKPOINT, STATUS_WX86_SINGLE_STEP): Move to
+       nat/windows-nat.c.
+       * nat/windows-nat.h (handle_ms_vc_exception): Declare.
+       (handle_exception_result): Move from windows-nat.c.
+       (handle_exception): Declare.
+       * nat/windows-nat.c (MS_VC_EXCEPTION, handle_exception)
+       (STATUS_WX86_SINGLE_STEP, STATUS_WX86_BREAKPOINT): Move from
+       windows-nat.c.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (exception_count, event_count): Remove.
+       (handle_exception, get_windows_debug_event)
+       (do_initial_windows_stuff): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_nat::handle_load_dll)
+       (windows_nat::handle_unload_dll): Rename.  No longer static.
+       * nat/windows-nat.h (handle_load_dll, handle_unload_dll):
+       Declare.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * complaints.h (stop_whining): Declare at top-level.
+       (complaint): Don't declare stop_whining.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_nat::handle_output_debug_string):
+       Rename.  No longer static.
+       * nat/windows-nat.h (handle_output_debug_string): Declare.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (current_process_handle, current_process_id)
+       (main_thread_id, last_sig, current_event, last_wait_event)
+       (current_windows_thread, desired_stop_thread_id, pending_stops)
+       (struct pending_stop, siginfo_er): Move to nat/windows-nat.c.
+       (display_selectors, fake_create_process)
+       (get_windows_debug_event): Update.
+       * nat/windows-nat.h (current_process_handle, current_process_id)
+       (main_thread_id, last_sig, current_event, last_wait_event)
+       (current_windows_thread, desired_stop_thread_id, pending_stops)
+       (struct pending_stop, siginfo_er): Move from windows-nat.c.
+       * nat/windows-nat.c (current_process_handle, current_process_id)
+       (main_thread_id, last_sig, current_event, last_wait_event)
+       (current_windows_thread, desired_stop_thread_id, pending_stops)
+       (siginfo_er): New globals.  Move from windows-nat.c.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (get_image_name): Move to nat/windows-nat.c.
+       (handle_load_dll): Update.
+       * nat/windows-nat.c (get_image_name): Move from windows-nat.c.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (enum thread_disposition_type): Move to
+       nat/windows-nat.h.
+       (windows_nat::thread_rec): Rename from thread_rec.  No longer
+       static.
+       (windows_add_thread, windows_nat_target::fetch_registers)
+       (windows_nat_target::store_registers, handle_exception)
+       (windows_nat_target::resume, get_windows_debug_event)
+       (windows_nat_target::get_tib_address)
+       (windows_nat_target::thread_name)
+       (windows_nat_target::thread_alive): Update.
+       * nat/windows-nat.h (enum thread_disposition_type): Move from
+       windows-nat.c.
+       (thread_rec): Declare.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c: Add "using namespace".
+       * nat/windows-nat.h: Wrap contents in windows_nat namespace.
+       * nat/windows-nat.c: Wrap contents in windows_nat namespace.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * nat/windows-nat.h (struct windows_thread_info): Declare
+       destructor.
+       * nat/windows-nat.c (~windows_thread_info): New.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       PR gdb/22992
+       * windows-nat.c (current_event): Update comment.
+       (last_wait_event, desired_stop_thread_id): New globals.
+       (struct pending_stop): New.
+       (pending_stops): New global.
+       (windows_nat_target) <stopped_by_sw_breakpoint>
+       <supports_stopped_by_sw_breakpoint>: New methods.
+       (windows_fetch_one_register): Add assertions.  Adjust PC.
+       (windows_continue): Handle pending stops.  Suspend other threads
+       when stepping.  Use last_wait_event
+       (wait_for_debug_event): New function.
+       (get_windows_debug_event): Use wait_for_debug_event.  Handle
+       pending stops.  Queue spurious stops.
+       (windows_nat_target::wait): Set stopped_at_software_breakpoint.
+       (windows_nat_target::kill): Use wait_for_debug_event.
+       * nat/windows-nat.h (struct windows_thread_info)
+       <stopped_at_software_breakpoint>: New field.
+       * nat/windows-nat.c (windows_thread_info::resume): Clear
+       stopped_at_software_breakpoint.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (enum thread_disposition_type): New.
+       (thread_rec): Replace "get_context" parameter with "disposition";
+       change type.
+       (windows_add_thread, windows_nat_target::fetch_registers)
+       (windows_nat_target::store_registers, handle_exception)
+       (windows_nat_target::resume, get_windows_debug_event)
+       (windows_nat_target::get_tib_address)
+       (windows_nat_target::thread_name)
+       (windows_nat_target::thread_alive): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (thread_rec): Use windows_thread_info::suspend.
+       (windows_continue): Use windows_continue::resume.
+       * nat/windows-nat.h (struct windows_thread_info) <suspend,
+       resume>: Declare new methods.
+       * nat/windows-nat.c: New file.
+       * configure.nat (NATDEPFILES): Add nat/windows-nat.o when needed.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_add_thread, windows_delete_thread)
+       (windows_nat_target::fetch_registers)
+       (windows_nat_target::store_registers, fake_create_process)
+       (windows_nat_target::resume, windows_nat_target::resume)
+       (get_windows_debug_event, windows_nat_target::wait)
+       (windows_nat_target::pid_to_str)
+       (windows_nat_target::get_tib_address)
+       (windows_nat_target::get_ada_task_ptid)
+       (windows_nat_target::thread_name)
+       (windows_nat_target::thread_alive): Use lwp, not tid.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (handle_exception)
+       (windows_nat_target::thread_name): Update.
+       * nat/windows-nat.h (windows_thread_info): Remove destructor.
+       <name>: Now unique_xmalloc_ptr.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (thread_rec)
+       (windows_nat_target::fetch_registers): Update.
+       * nat/windows-nat.h (struct windows_thread_info) <suspended>:
+       Update comment.
+       <debug_registers_changed, reload_context>: Now bool.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (windows_add_thread): Use new.
+       (windows_init_thread_list, windows_delete_thread): Use delete.
+       (get_windows_debug_event): Update.
+       * nat/windows-nat.h (struct windows_thread_info): Add constructor,
+       destructor, and initializers.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (struct windows_thread_info): Remove.
+       * nat/windows-nat.h: New file.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (struct windows_thread_info) <tid>: Rename from "id".
+       (thread_rec, windows_add_thread, windows_delete_thread)
+       (windows_continue): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (struct windows_thread_info): Remove typedef.
+       (thread_head): Remove.
+       (thread_list): New global.
+       (thread_rec, windows_add_thread, windows_init_thread_list)
+       (windows_delete_thread, windows_continue): Update.
+
+2020-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * windows-tdep.h (windows_init_abi): Add comment.
+       (cygwin_init_abi): New declaration.
+       * windows-tdep.c: Split signal enumeration in two, one for
+       Windows and one for Cygwin.
+       (windows_gdb_signal_to_target): Only deal with signal of the
+       Windows OS ABI.
+       (cygwin_gdb_signal_to_target): New function.
+       (windows_init_abi): Rename to windows_init_abi_common, don't set
+       gdb_signal_to_target gdbarch method.  Add new new function with
+       this name.
+       (cygwin_init_abi): New function.
+       * amd64-windows-tdep.c (amd64_windows_init_abi_common): Add
+       comment.  Don't call windows_init_abi.
+       (amd64_windows_init_abi): Add comment, call windows_init_abi.
+       (amd64_cygwin_init_abi): Add comment, call cygwin_init_abi.
+       * i386-windows-tdep.c (i386_windows_init_abi): Rename to
+       i386_windows_init_abi_common, don't call windows_init_abi.  Add
+       a new function of this name.
+       (i386_cygwin_init_abi): New function.
+       (_initialize_i386_windows_tdep): Bind i386_cygwin_init_abi to
+       OS ABI Cygwin.
+
+2020-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.c (read_gdb_index_from_buffer): Remove objfile
+       parameter.c.
+       (dwarf2_read_gdb_index): Update.
+
+2020-04-07  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-tdep.c: Include "objfiles.h".
+       (nbsd_skip_solib_resolver): New.
+       (nbsd_init_abi): Call set_gdbarch_skip_solib_resolver().
+
+2020-04-07  Nitika Achra  <Nitika.Achra@amd.com>
+
+       * dwarf2/loc.c (loclist_describe_location): Call the function decode_debug_loclists_
+       addresses if DWARF version is 5 or more because DW_LLE_start* or DW_LLE_offset_pair
+       with DW_LLE_base_addressx are being emitted in DWARFv5.
+       Add the newly added kind DW_LOC_OFFSET_PAIR also.
+       The length of location description is an unsigned ULEB integer in DWARFv5 instead of
+       unsigned integer.
+
+2020-04-07  Nitika Achra  <Nitika.Achra@amd.com>
+
+       * dwarf2/loc.c (enum debug_loc_kind): Add a new kind DEBUG_LOC_OFFSET_PAIR.
+       (dwarf2_find_location_expression): Call the function decode_debug_loclists_
+       addresses if DWARF version is 5 or more. DW_LLE_start* or DW_LLE_offset_pair
+       with DW_LLE_base_addressx are being emitted in DWARFv5 instead of DW_LLE_GNU*.
+       Add applicable base address if the entry is DW_LLE_offset_pair from DWO.
+       (decode_debug_loclists_addresses): Return DEBUG_LOC_OFFSET_PAIR instead of
+       DEBUG_LOC_START_END in case of DW_LLE_offset_pair.
+
+
+2020-04-07  Nitika Achra  <Nitika.Achra@amd.com>
+
+       * dwarf2/read.c (cu_debug_loc_section): Added the declaration for the function.
+       (read_loclist_index): New function definition.
+       (lookup_loclist_base): New function definition.
+       (read_loclist_header): New function definition.
+       (dwarf2_cu): Add loclist_base and loclist_header field.
+       (dwarf2_locate_dwo_sections): Handle .debug_loclists.dwo section.
+       (read_full_die_1): Read the value of DW_AT_loclists_base.
+       (read_attribute_reprocess): Handle DW_FORM_loclistx.
+       (read_attribute_value): Handle DW_FORM_loclistx.
+       (skip_one_die): Handle DW_FORM_loclistx.
+       (loclist_header): New structure declaration.
+       * dwarf2/attribute.c (form_is_section_offset): Handle DW_FORM_loclistx.
+
+2020-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.h (struct dwarf2_psymtab): Remove two-parameters
+       constructor.  Remove `addr` parameter from other constructor and
+       add `per_cu` parameter.
+       * dwarf2/read.c (create_partial_symtab): Update.
+
+2020-04-07  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25796
+       * dwarf2/read.c (can_have_DW_AT_const_value_p): New function.
+       (partial_die_info::fixup): Inherit has_const_value.
+
+2020-04-07  Tom de Vries  <tdevries@suse.de>
+
+       * psymtab.c (maintenance_check_psymtabs): Skip static LOC_BLOCK
+       symbols without address.
+
+2020-04-06  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.h (struct thread_info): Add forward declaration.
+       (nbsd_nat_target::thread_alive): Add.
+       (nbsd_nat_target::thread_name): Likewise.
+       (nbsd_nat_target::update_thread_list): Likewise.
+       (update_thread_list::post_attach): Likewise.
+       (post_attach::pid_to_str): Likewise.
+       * nbsd-nat.c: Include "gdbthread.h" and "inferior.h".
+       (nbsd_thread_lister): Add.
+       (nbsd_nat_target::thread_alive): Likewise.
+       (nbsd_nat_target::thread_name): Likewise.
+       (nbsd_add_threads): Likewise.
+       (update_thread_list::post_attach): Likewise.
+       (nbsd_nat_target::update_thread_list): Likewise.
+       (post_attach::pid_to_str): Likewise.
+
+2020-04-06  Tom Tromey  <tromey@adacore.com>
+
+       * ada-valprint.c (print_variant_part): Extract the variant field.
+       (print_field_values): Use the field as the outer value when
+       recursing.
+
+2020-04-06  Tom Tromey  <tromey@adacore.com>
+
+       * sh-nbsd-tdep.c: Include nbsd-tdep.h.
+       * ppc-nbsd-tdep.c: Include nbsd-tdep.h.
+       * mips-nbsd-tdep.c (mipsnbsd_init_abi): Add missing ";".
+       * arm-nbsd-tdep.c: Include nbsd-tdep.h.
+       * hppa-nbsd-tdep.c: Include nbsd-tdep.h.
+
+2020-04-06  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.c (read_base_type) <DW_ATE_complex_float>: Handle
+       TYPE_CODE_ERROR.
+
+2020-04-06  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-tdep.c: Include "gdbarch.h".
+       Define enum with NetBSD signal numbers.
+       (nbsd_gdb_signal_from_target, nbsd_gdb_signal_to_target): New.
+       * alpha-nbsd-tdep.c (alphanbsd_init_abi): Call nbsd_init_abi().
+       * amd64-nbsd-tdep.c (amd64nbsd_init_abi): Likewise.
+       * arm-nbsd-tdep.c (arm_netbsd_elf_init_abi): Likewise.
+       * hppa-nbsd-tdep.c (hppanbsd_init_abi): Likewise.
+       * i386-nbsd-tdep.c (i386nbsd_init_abi): Likewise.
+       * mips-nbsd-tdep.c (nbsd_init_abi): Likewise.
+       * ppc-nbsd-tdep.c (ppcnbsd_init_abi): Likewise.
+       * sh-nbsd-tdep.c (shnbsd_init_abi): Likewise.
+       * sparc-nbsd-tdep.c (sparc32nbsd_init_abi): Likewise.
+       * sparc64-nbsd-tdep.c (sparc64nbsd_init_abi): Likewise.
+       * vax-nbsd-tdep.c (vaxnbsd_elf_init_abi): Likewise.
+
+2020-04-03  Hannes Domani  <ssbssa@yahoo.de>
+
+       PR gdb/25325
+       * dwarf2/read.c (read_enumeration_type): Fix typed enum attributes.
+
+2020-04-03  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/loc.c (disassemble_dwarf_expression) <DW_OP_const_type>:
+       Read constant block.
+
+2020-04-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb_bfd.h: Include gdbsupport/byte-vector.h.
+       (gdb_bfd_get_full_section_contents): New declaration.
+       * gdb_bfd.c (gdb_bfd_get_full_section_contents): New function.
+       * windows-tdep.c (is_linked_with_cygwin_dll): Use
+       gdb_bfd_get_full_section_contents.
+
+2020-04-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * exec.c (build_section_table): Replace internal_error with
+       gdb_assert.
+       (section_table_xfer_memory_partial): Likewise.
+       * mdebugread.c (parse_partial_symbols): Likewise.
+       * psymtab.c (lookup_partial_symbol): Likewise.
+       * utils.c (wrap_here): Likewise.
+
+2020-04-02  Tom Tromey  <tromey@adacore.com>
+
+       * f-lang.c (build_fortran_types): Use arch_type to initialize
+       builtin_complex_s32 in the TYPE_CODE_ERROR case.
+
+2020-04-02  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/read.c (partial_die_info::read): Do not create a vector
+       of attributes.
+
+2020-04-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+           Bernd Edlinger <bernd.edlinger@hotmail.de>
+           Tom Tromey  <tromey@adacore.com>
+
+       * buildsym.c (buildsym_compunit::record_line): Remove
+       deduplication code.
+
+2020-04-02  Tom de Vries  <tdevries@suse.de>
+
+       PR ada/24671
+       * dwarf2/read.c (dw2_map_matching_symbols): Handle -readnow.
+
+2020-04-02  Tom de Vries  <tdevries@suse.de>
+
+       * dwarf2/read.c (dwarf2_gdb_index_functions,
+       dwarf2_debug_names_functions): Init lookup_global_symbol_language with
+       NULL.
+       * psymtab.c (psym_lookup_global_symbol_language): New function.
+       (psym_functions): Init psym_lookup_global_symbol_language with
+       psym_lookup_global_symbol_language.
+       * symfile-debug.c (debug_sym_quick_functions): Init
+       lookup_global_symbol_language with NULL.
+       * symfile.c (set_initial_language): Remove fixme comment.
+       * symfile.h (struct quick_symbol_functions): Add
+       lookup_global_symbol_language.
+       * symtab.c (find_quick_global_symbol_language): New function.
+       (find_main_name): Use find_quick_global_symbol_language.
+
+2020-04-01  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * windows-tdep.c (is_linked_with_cygwin_dll): Fix style.
+
+2020-04-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * buildsym.c (record_line): Fix undefined behavior and preserve
+       lines at eof.
+
+2020-04-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * buildsym.c (record_line): Fix the resizing condition.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * value.h (value_literal_complex): Add comment.
+       * valops.c (value_literal_complex): Refer to value.h.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * c-exp.y (FLOAT_KEYWORD, COMPLEX): New tokens.
+       (scalar_type): New rule, from typebase.
+       (typebase): Use scalar_type.  Recognize complex types.
+       (field_name): Handle FLOAT_KEYWORD.
+       (ident_tokens): Add _Complex and __complex__.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       PR exp/25299:
+       * valarith.c (promotion_type, complex_binop): New functions.
+       (scalar_binop): Handle complex numbers.  Use promotion_type.
+       (value_pos, value_neg, value_complement): Handle complex numbers.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * c-exp.y (COMPLEX_INT, COMPLEX_FLOAT): New tokens.
+       (exp) <COMPLEX_INT, COMPLEX_FLOAT>: New rules.
+       (parse_number): Handle complex numbers.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * c-valprint.c (c_decorations): Change complex suffix to "i".
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * valprint.c (generic_value_print_complex): Use accessors.
+       * value.h (value_real_part, value_imaginary_part): Declare.
+       * valops.c (value_real_part, value_imaginary_part): New
+       functions.
+       * value.c (creal_internal_fn, cimag_internal_fn): Use accessors.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.c (rs6000_builtin_type, read_sun_floating_type)
+       (read_range_type): Update.
+       * mdebugread.c (basic_type): Update.
+       * go-lang.c (build_go_types): Use init_complex_type.
+       * gdbtypes.h (struct main_type) <complex_type>: New member.
+       (init_complex_type): Update.
+       (arch_complex_type): Don't declare.
+       * gdbtypes.c (init_complex_type): Remove "objfile" parameter.
+       Make name if none given.  Use alloc_type_copy.  Look for cached
+       complex type.
+       (arch_complex_type): Remove.
+       (gdbtypes_post_init): Use init_complex_type.
+       * f-lang.c (build_fortran_types): Use init_complex_type.
+       * dwarf2/read.c (read_base_type): Update.
+       * d-lang.c (build_d_types): Use init_complex_type.
+       * ctfread.c (read_base_type): Update.
+
+2020-04-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * infrun.c (stop_all_threads): Update assertion, plus when
+       stopping threads, take into account that we might be trying
+       to stop an all-stop target.
+       (stop_waiting): Call 'stop_all_threads' if there exists a
+       non-stop target.
+
+2020-04-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * target.h (exists_non_stop_target): New function declaration.
+       * target.c (exists_non_stop_target): New function.
+
+2020-04-01  Hannes Domani  <ssbssa@yahoo.de>
+
+       PR gdb/24789
+       * eval.c (is_integral_or_integral_reference): New function.
+       (evaluate_subexp_standard): Allow integer references in
+       pointer arithmetic.
+
+2020-04-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * remote.c (remote_target::remote_parse_stop_reply): Remove the
+       check for no ptid in the stop reply when the target is non-stop.
+
+2020-04-01  Tom Tromey  <tromey@adacore.com>
+
+       * symtab.h (class lookup_name_info) <lookup_name_info>: Change
+       "name" parameter to rvalue reference.  Initialize m_name_holder.
+       <lookup_name_info>: New overloads.
+       <name>: Return gdb::string_view.
+       <c_str>: New method.
+       <make_ignore_params>: Update.
+       <search_name_hash>: Update.
+       <language_lookup_name>: Return const char *.
+       <m_name>: Change type.
+       * symtab.c (demangle_for_lookup_info::demangle_for_lookup_info)
+       (demangle_for_lookup_info::demangle_for_lookup_info): Update.
+       (lookup_name_info::match_any): Update.
+       * psymtab.c (match_partial_symbol, lookup_partial_symbol):
+       Update.
+       * minsyms.c (linkage_name_str): Update.
+       * language.c (default_symbol_name_matcher): Update.
+       * dwarf2/read.c (mapped_index_base::find_name_components_bounds):
+       Update.
+       * ada-lang.c (ada_fold_name): Change parameter to string_view.
+       (ada_lookup_name_info::ada_lookup_name_info): Update.
+       (literal_symbol_name_matcher): Update.
+
+2020-04-01  Tom Tromey  <tromey@adacore.com>
+
+       * psymtab.c (psymtab_search_name): Remove function.
+       (psym_lookup_symbol): Create search name and lookup name here.
+       (lookup_partial_symbol): Remove "name" parameter; add
+       lookup_name.
+       (psym_expand_symtabs_for_function): Update.
+
+2020-03-31  Joel Jones  <joelkevinjones@gmail.com>
+
+       PR tui/25597:
+       * python/py-tui.c: Include gdb_curses.h inside of #ifdef TUI.
+
+2020-03-31  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2/abbrev.c (abbrev_table::read): Conditionally call
+       memcpy.
+
+2020-03-30  Nelson Chu  <nelson.chu@sifive.com>
+
+       * features/riscv/32bit-csr.xml: Regenerated.
+       * features/riscv/64bit-csr.xml: Regenerated.
+
+2020-03-30  Tom Tromey  <tromey@adacore.com>
+
+       * ada-valprint.c (print_variant_part): Update.
+       * ada-lang.h (ada_which_variant_applies): Update.
+       * ada-lang.c (ada_which_variant_applies): Remove outer_type and
+       outer_valaddr parameters; replace with "outer" value parameter.
+       (to_fixed_variant_branch_type): Update.
+
+2020-03-30  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * ppc-linux-nat.c: Include <algorithm>, <unordered_map>, and
+       <list>.  Remove inclusion of observable.h.
+       (PPC_DEBUG_CURRENT_VERSION): Move up define.
+       (struct arch_lwp_info): New struct.
+       (class ppc_linux_dreg_interface): New class.
+       (struct ppc_linux_process_info): New struct.
+       (struct ppc_linux_nat_target) <low_delete_thread, low_new_fork>
+       <low_new_clone, low_forget_process, low_prepare_to_resume>
+       <copy_thread_dreg_state, mark_thread_stale>
+       <mark_debug_registers_changed, register_hw_breakpoint>
+       <clear_hw_breakpoint, register_wp, clear_wp>
+       <can_use_watchpoint_cond_accel, calculate_dvc, check_condition>
+       <num_memory_accesses, get_trigger_type>
+       <create_watchpoint_request, hwdebug_point_cmp>
+       <init_arch_lwp_info, get_arch_lwp_info>
+       <low_stopped_by_watchpoint, low_stopped_data_address>: Declare as
+       methods.
+       <struct ptid_hash>: New inner struct.
+       <m_dreg_interface, m_process_info, m_installed_hw_bps>: Declare
+       members.
+       (saved_dabr_value, hwdebug_info, max_slots_number)
+       (struct hw_break_tuple, struct thread_points, ppc_threads)
+       (have_ptrace_hwdebug_interface)
+       (hwdebug_find_thread_points_by_tid)
+       (hwdebug_insert_point, hwdebug_remove_point): Remove.
+       (ppc_linux_nat_target::can_use_hw_breakpoint): Use
+       m_dreg_interface, remove call to PTRACE_SET_DEBUGREG.
+       (ppc_linux_nat_target::region_ok_for_hw_watchpoint): Add comment,
+       use m_dreg_interface.
+       (hwdebug_point_cmp): Change to...
+       (ppc_linux_nat_target::hwdebug_point_cmp): ...this method.  Use
+       reference arguments instead of pointers.
+       (ppc_linux_nat_target::ranged_break_num_registers): Use
+       m_dreg_interface.
+       (ppc_linux_nat_target::insert_hw_breakpoint): Add comment, use
+       m_dreg_interface.  Call register_hw_breakpoint.
+       (ppc_linux_nat_target::remove_hw_breakpoint): Add comment, use
+       m_dreg_interface.  Call clear_hw_breakpoint.
+       (get_trigger_type): Change to...
+       (ppc_linux_nat_target::get_trigger_type): ...this method.  Add
+       comment.
+       (ppc_linux_nat_target::insert_mask_watchpoint): Update comment,
+       use m_dreg_interface.  Call register_hw_breakpoint.
+       (ppc_linux_nat_target::remove_mask_watchpoint): Update comment,
+       use m_dreg_interface.  Call clear_hw_breakpoint.
+       (can_use_watchpoint_cond_accel): Change to...
+       (ppc_linux_nat_target::can_use_watchpoint_cond_accel): ...this
+       method.  Update comment, use m_dreg_interface and
+       m_process_info.
+       (calculate_dvc): Change to...
+       (ppc_linux_nat_target::calculate_dvc): ...this method.  Use
+       m_dreg_interface.
+       (num_memory_accesses): Change to...
+       (ppc_linux_nat_target::num_memory_accesses): ...this method.
+       (check_condition): Change to...
+       (ppc_linux_nat_target::check_condition): ...this method.
+       (ppc_linux_nat_target::can_accel_watchpoint_condition): Update
+       comment, use m_dreg_interface.
+       (create_watchpoint_request): Change to...
+       (ppc_linux_nat_target::create_watchpoint_request): ...this
+       method.  Use m_dreg_interface.
+       (ppc_linux_nat_target::insert_watchpoint): Add comment, use
+       m_dreg_interface.  Call register_hw_breakpoint or register_wp.
+       (ppc_linux_nat_target::remove_watchpoint): Add comment, use
+       m_dreg_interface.  Call clear_hw_breakpoint or clear_wp.
+       (ppc_linux_nat_target::low_forget_process)
+       (ppc_linux_nat_target::low_new_fork)
+       (ppc_linux_nat_target::low_new_clone)
+       (ppc_linux_nat_target::low_delete_thread)
+       (ppc_linux_nat_target::low_prepare_to_resume): New methods.
+       (ppc_linux_nat_target::low_new_thread): Remove previous logic,
+       only call mark_thread_stale.
+       (ppc_linux_thread_exit): Remove.
+       (ppc_linux_nat_target::stopped_data_address): Change to...
+       (ppc_linux_nat_target::low_stopped_data_address): This. Add
+       comment, use m_dreg_interface and m_thread_hw_breakpoints.
+       (ppc_linux_nat_target::stopped_by_watchpoint): Change to...
+       (ppc_linux_nat_target::stopped_by_watchpoint): This.  Add
+       comment.  Call low_stopped_data_address.
+       (ppc_linux_nat_target::watchpoint_addr_within_range): Use
+       m_dreg_interface.
+       (ppc_linux_nat_target::masked_watch_num_registers): Use
+       m_dreg_interface.
+       (ppc_linux_nat_target::copy_thread_dreg_state)
+       (ppc_linux_nat_target::mark_thread_stale)
+       (ppc_linux_nat_target::mark_debug_registers_changed)
+       (ppc_linux_nat_target::register_hw_breakpoint)
+       (ppc_linux_nat_target::clear_hw_breakpoint)
+       (ppc_linux_nat_target::register_wp)
+       (ppc_linux_nat_target::clear_wp)
+       (ppc_linux_nat_target::init_arch_lwp_info)
+       (ppc_linux_nat_target::get_arch_lwp_info): New methods.
+       (_initialize_ppc_linux_nat): Remove observer callback.
+
+2020-03-30  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * ppc-linux-nat.c (ppc_linux_nat_target::store_registers)
+       (ppc_linux_nat_target::auxv_parse)
+       (ppc_linux_nat_target::read_description)
+       (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
+       Move up.
+
+2020-03-30  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * linux-nat.h (low_new_clone): New method.
+       * linux-nat.c (linux_handle_extended_wait): Call low_new_clone.
+
+2020-03-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dbxread.c (dbx_psymtab_to_symtab_1): Rename to...
+       (dbx_expand_psymtab): ... this.
+       (start_psymtab): Update.
+       * mdebugread.c (psymtab_to_symtab_1): Rename to...
+       (mdebug_expand_psymtab): ... this.
+       (parse_partial_symbols): Update.
+       (new_psymtab): Update.
+       * xcoffread.c (xcoff_psymtab_to_symtab_1): Rename to...
+       (xcoff_expand_psymtab): ... this.
+       (xcoff_start_psymtab): Update.
+
+2020-03-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * psympriv.h (partial_symtab) <read_dependencies>: Rename to...
+       <expand_dependencies>: ... this.
+       * psymtab.c (partial_symtab::read_dependencies): Rename to...
+       (partial_symtab::expand_dependencies): ... this.
+       * dwarf2/read.c (dwarf2_include_psymtab) <expand_psymtab>:
+       Update.
+       (dwarf2_psymtab::expand_psymtab): Update.
+       * dbxread.c (dbx_psymtab_to_symtab_1): Update.
+       * mdebugread.c (psymtab_to_symtab_1): Update.
+       * xcoffread.c (xcoff_psymtab_to_symtab_1): Update.
+
 2020-03-29  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * psympriv.h (discard_psymtab): Remove.
This page took 0.032684 seconds and 4 git commands to generate.