]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
gdb: don't pass TARGET_WNOHANG to targets that can't async (PR 26642)
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 9637e4a7b12dcf393dedcbb7b48ac8ea20a5acca..4eed6920ae5cbb8536150e00ac8b5c75bbf84631 100644 (file)
@@ -1,3 +1,283 @@
+2020-10-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/26642
+       * infrun.c (do_target_wait_1): Clear TARGET_WNOHANG if the
+       target can't do async.
+       * target.c (target_wait): Assert that we don't pass
+       TARGET_WNOHANG to a target that can't async.
+
+2020-10-08  Shahab Vahedi  <shahab@synopsys.com>
+
+       * NEWS: Mention ARC support in GDBserver.
+
+2020-10-07  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * arc-linux-tdep.h: New file.
+       * arc-linux-tdep.c (arc_linux_core_reg_offsets,
+       arc_linux_supply_gregset, arc_linux_supply_v2_regset,
+       arc_linux_collect_gregset, arc_linux_collect_v2_regset,
+       arc_linux_gregset, arc_linux_v2_regset,
+       arc_linux_iterate_over_regset_sections,
+       arc_linux_core_read_description): Implement.
+       (arc_linux_init_osabi): Set iterate_over_regset_sections.
+       * arc-tdep.h (ARC_OFFSET_NO_REGISTER): Declare.
+       (arc_gdbarch_features_create): Add.
+       * arc-tdep.c (arc_gdbarch_features_create): Not static anymore.
+
+2020-10-07  Shahab Vahedi  <shahab@synopsys.com>
+
+       * arch/arc.h: Rename "arc_gdbarch_features" to
+       "arc_arch_features".
+       * arc-tdep.h: Likewise.
+       * arc-tdep.c: Likewise.
+
+2020-09-28  Gareth Rees <grees@undo.io>  (tiny change)
+
+       PR python/26586
+       * cli/cli-script.c (execute_control_commands): don't set
+       instream to nullptr here as this breaks the from_tty argument
+       to gdb.execute in Python.
+       (execute_user_command): set instream to nullptr here instead.
+
+2020-09-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * breakpoint.c (commands_command_1): Make a copy of the 'arg'
+       argument.
+
+2020-09-24  Tom Tromey  <tromey@adacore.com>
+
+       PR tui/26638:
+       * tui/tui-stack.h (struct tui_locator_window) <can_focus>: New
+       method.
+       * tui/tui-data.h (struct tui_win_info) <can_focus>: New method.
+       * tui/tui-data.c (tui_next_win): Exclude non-focusable windows.
+       (tui_prev_win): Rewrite.
+
+2020-09-23  Hannes Domani  <ssbssa@yahoo.de>
+
+       * nat/windows-nat.c (handle_exception): Handle 64bit breakpoints
+       in WOW64 processes as SIGINT.
+       * nat/windows-nat.h: Make wow64_process a shared variable.
+       * windows-nat.c: Remove static wow64_process variable.
+
+2020-09-18  Victor Collod  <vcollod@nvidia.com>
+
+       PR gdb/26635
+       * i386-tdep.c (i386_skip_endbr): Add a helper function to skip endbr.
+       (i386_analyze_prologue): Call i386_skip_endbr.
+
+2020-09-18  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/26631
+       * thread.c (thread_find_command): Switch inferior before calling
+       target methods.
+
+2020-09-16  Tom Tromey  <tromey@adacore.com>
+
+       PR gdb/26598:
+       * infrun.c (fill_in_stop_func): Use find_pc_partial_function_sym.
+
+2020-09-14  Fredrik Hederstierna  <fredrik.hederstierna@verisure.com>
+            Adam Renquinha <arenquinha@cimeq.qc.ca>
+
+        * arm-tdep.c (arm_m_exception_cache): Try use correct stack
+        pointer and stack frame offset when unwinding.
+
+2020-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * version.in: Set GDB version number to 10.0.90.DATE-git.
+
+2020-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 10.0.90 released.
+
+2020-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * version.in: Set GDB version number to 10.0.90.
+
+2020-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Change "Changes since GDB 9" to "Changes in GDB 10".
+
+2020-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 10 branch created (8087c3fa8b5d695e3e29e69d70d0b35ec902ac59):
+       * version.in: Bump version to 10.0.90.DATE-git.
+
+2020-09-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * infrun.c (namespace selftests): Only define #if GDB_SELF_TEST.
+
+2020-09-11  Moritz Riesterer  <moritz.riesterer@intel.com>
+           Felix Willgerodt  <Felix.Willgerodt@intel.com>
+
+       * gdbarch.sh: Added bfloat16 type.
+       * gdbarch.c: Regenerated.
+       * gdbarch.h: Regenerated.
+       * gdbtypes.c (floatformats_bfloat16): New struct.
+       (gdbtypes_post_init): Add builtin_bfloat16.
+       * gdbtypes.h (struct builtin_type) <builtin_bfloat16>: New member.
+       (floatformats_bfloat16): New struct.
+       * i386-tdep.c (i386_zmm_type): Add field "v32_bfloat16"
+       (i386_ymm_type): Add field "v16_bfloat16"
+       (i386_gdbarch_init): Add set_gdbarch_bfloat16_format.
+       * target-descriptions.c (make_gdb_type): Add case TDESC_TYPE_BFLOAT16.
+       * gdbsupport/tdesc.cc (tdesc_predefined_types): New member bfloat16.
+       * gdbsupport/tdesc.h (tdesc_type_kind): New member TDESC_TYPE_BFLOAT16.
+       * features/i386/64bit-avx512.xml: Add bfloat16 type.
+       * features/i386/64bit-avx512.c: Regenerated.
+       * features/i386/64bit-sse.xml: Add bfloat16 type.
+       * features/i386/64bit-sse.c: Regenerated.
+
+2020-09-11  Felix Willgerodt  <felix.willgerodt@intel.com>
+
+       * i386-tdep.c (i386_zmm_type): Fix field names.
+       (i386_ymm_type): Fix field names.
+
+2020-09-11  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * breakpoint.c: Fix typo in the help message of the
+       "set breakpoint condition-evaluation" command.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c: Include "nat/netbsd-nat.h".
+       * (nbsd_nat_target::pid_to_exec_file)
+       (nbsd_nat_target::thread_alive, nbsd_nat_target::thread_name)
+       (nbsd_nat_target::post_startup_inferior)
+       (nbsd_nat_target::post_attach, nbsd_nat_target::xfer_partial)
+       (nbsd_add_threads): Switch local code to common gdb/nat functions.
+       * (nbsd_pid_to_cmdline): Call sysctl from the global namespace.
+       * (nbsd_thread_lister): Remove.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * fork-inferior.c (startup_inferior): Avoid double free.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h (netbsd_nat::qxfer_siginfo): Add.
+       * netbsd-nat.c (netbsd_nat::qxfer_siginfo): Likewise.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h (netbsd_nat::enable_proc_events): Add.
+       * netbsd-nat.c: Include <sys/ptrace.h>.
+       * (netbsd_nat::enable_proc_events): Add.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h: Include "gdbsupport/function-view.h".
+       * (netbsd_nat::thread_alive, netbsd_nat::thread_name)
+       (netbsd_nat::for_each_thread): Add.
+       * netbsd-nat.c: Include "gdbsupport/common-defs.h" and
+       "gdbsupport/common-debug.h".
+       * (netbsd_nat::netbsd_thread_lister)
+       (netbsd_nat::thread_alive, netbsd_nat::thread_name)
+       (netbsd_nat::for_each_thread): Add.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h: Include <unistd.h>.
+       * (netbsd_nat::pid_to_exec_file): Add.
+       * netbsd-nat.c: Include <sys/types.h> and <sys/sysctl.h>.
+       * (netbsd_nat::pid_to_exec_file) Add.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * configure.nat (NATDEPFILES): Add nat/netbsd-nat.o when needed.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h: New file.
+       * netbsd-nat.c: Likewise.
+
+2020-09-09  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (remove_extra_symbols): Do not increment when
+       removing an element
+
+2020-09-08  Tom Tromey  <tromey@adacore.com>
+
+       * gdb_bfd.c (gdb_bfd_open): Call bfd_fopen when fstat fails.
+
+2020-09-08  Tom Tromey  <tromey@adacore.com>
+
+       PR win32/25302:
+       * gdb_bfd.c (gdb_bfd_data): Add "st" parameter.
+       (gdb_bfd_init_data): New function.
+       (gdb_bfd_open, gdb_bfd_ref): Use gdb_bfd_init_data.
+
+2020-09-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * infrun.c (fetch_inferior_event): Use
+       `switch_to_target_no_thread` to switch the target.
+
+2020-09-06  Tom Tromey  <tom@tromey.com>
+
+       * symfile.h (dwarf2_free_objfile): Don't declare.
+
+2020-09-03  Alok Kumar Sharma  <AlokKumar.Sharma@amd.com>
+
+       * gdb/i386-tdep.c (i386_floatformat_for_type): Added conditions
+       to match 16 byte real/complex type generated by Flang compiler.
+
+2020-09-03  Tom de Vries  <tdevries@suse.de>
+
+       PR breakpoint/26546
+       * dwarf2/read.c (new_symbol): Tag label symbol without DW_AT_low_pc as
+       LOC_OPTIMIZED_OUT instead of LOC_LABEL.
+
+2020-09-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * maint.c (index_digits): New function.
+       (struct maint_print_section_data): Remove.
+       (print_bfd_section_info): Remove print_data parameter, add arg
+       and index_digits.
+       (print_objfile_section_info): Likewise.
+       (print_bfd_section_info_maybe_relocated): Likewise (plus
+       objfile).
+       (maintenance_info_sections): Adjust calls.
+
+2020-09-02  Tom Tromey  <tromey@adacore.com>
+
+       * ada-varobj.c (ada_varobj_get_ptr_number_of_children): Return 0
+       for null pointers.
+       (ada_varobj_adjust_for_child_access): Special-case null pointers.
+
+2020-09-01  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * bcache.h (struct bcache) <insert>: Change type of `added` to
+       pointer to bool.
+       * bcache.c (bcache::insert): Likewise.
+       * gdbtypes.c (check_types_worklist): Adjust.
+       * psymtab.c (add_psymbol_to_bcache): Adjust.
+
+2020-08-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * corelow.c (unordered_set): Include.
+       (class core_target): Add field 'm_core_unavailable_mappings'.
+       (core_target::build_file_mappings): Print only one warning
+       per inaccessible file.  Add unavailable/broken mappings
+       to m_core_unavailable_mappings.
+       (core_target::xfer_partial): Call...
+       (core_target::xfer_memory_via_mappings): New method.
+
+2020-08-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.c (struct field_info) <non_public_fields>: Change
+       type to bool.
+
+2020-08-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.c (struct field_info): Fix indentation.
+
+2020-08-31  Simon Marchi  <simon.marchi@efficios.com>
+
+       * frame-unwind.h (frame_prev_register_ftype): Fix adjective
+       ordering in comment.
+       * frame.c (frame_id_eq): Fix indentation.
+
 2020-08-31  Scott Linder  <scott@scottlinder.com>
            Simon Marchi  <simon.marchi@efficios.com>