]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
gdb: remove unnecessary parameter wait_ptid from do_target_wait
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 32108023aa276f4755860aaa85a7a19fecc65970..2bef3a89592fc3d8ed3a169431a872c08e1a0677 100644 (file)
@@ -1,3 +1,261 @@
+2021-06-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * infrun.c (do_target_wait): Remove wait_ptid parameter.
+       (fetch_inferior_event): Adjust.
+
+2021-06-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * python/lib/gdb/__init__.py (_execute_unwinders): Return tuple
+       with name of chosen unwinder.
+       * python/py-unwind.c (pyuw_sniffer): Print name of chosen
+       unwinder in debug message.
+
+2021-06-22  Andreas Schwab  <schwab@suse.de>
+
+       PR symtab/27999
+       * dwarf2/loc.c (decode_debug_loclists_addresses): Support
+       DW_LLE_start_end.
+
+2021-06-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * breakpoint.c (insert_bp_location): If we catch a
+       TARGET_CLOSE_ERROR just rethrow it, the breakpoints might have
+       been deleted.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention new target feature name.
+       * arch/riscv.c (riscv_create_target_description): GDB doesn't
+       currently create target descriptions containing vector registers.
+       * arch/riscv.h (struct riscv_gdbarch_features) <vlen>: New member
+       variable.
+       <operator==>: Also compare vlen.
+       <hash>: Also include vlen.
+       * riscv-tdep.c (riscv_feature_name_vector): New static global.
+       (struct riscv_vector_feature): New struct.
+       (riscv_vector_feature): New static global.
+       (riscv_register_reggroup_p): Ensure vector registers are part of
+       the 'all' group, and part of the 'vector' group.
+       (riscv_dwarf_reg_to_regnum): Handle vector registers.
+       (riscv_gdbarch_init): Check vector register feature.
+       * riscv-tdep.h: Add vector registers to GDB's internal register
+       numbers, and to the DWARF register numbers.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention the two new methods.
+       * python/py-frame.c (frapy_level): New function.
+       (frame_object_methods): Register 'level' method.
+       * python/py-unwind.c (pending_framepy_level): New function.
+       (pending_frame_object_methods): Register 'level' method.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-inferior.c (infpy_get_connection_num): Call
+       gdb_py_object_from_longest instead of PyLong_FromLong directly.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * python/py-unwind.c (unwind_infopy_add_saved_register): Handle
+       saving user registers.
+
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * acinclude.m4: Delete most m4_include's of ../config files.
+       * configure.ac: Delete m4_include call and call AC_CONFIG_MACRO_DIR.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * scoped_ignore_signal.h (scoped_ignore_signal): Add
+       ConsumePending template parameter.
+       (scoped_ignore_signal::~scoped_ignore_signal): Skip calling
+       sigtimedwait if ConsumePending is false.
+       (scoped_ignore_sigpipe): Initialize with ConsumePending=true.
+       * scoped_ignore_sigttou.h (scoped_ignore_sigttou)
+       <m_ignore_signal>: Initialize with ConsumePending=false.
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * Makefile.in (SELFTESTS_SRCS): Add
+       unittests/scoped_ignore_signal-selftests.c.
+       * unittests/scoped_ignore_signal-selftests.c: New.
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * gdbsupport/scoped_ignore_signal.h: New.
+       * compile/compile.c: Include gdbsupport/scoped_ignore_signal.h
+       instead of <signal.h>.  Don't include <unistd.h>.
+       (scoped_ignore_sigpipe): Remove.
+       * gdbsupport/scoped_ignore_sigttou.h: Include gdbsupport/scoped_ignore_signal.h
+       instead of <signal.h>.  Don't include <unistd.h>.
+       (lazy_init): New.
+       (scoped_ignore_sigttou): Reimplement using scoped_ignore_signal
+       and lazy_init.
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove inflow.h.
+       * inf-ptrace.c, inflow.c, procfs.c: Don't include "inflow.h".
+       * inflow.h: Delete, moved to gdbsupport/ under a different name.
+       * ser-unix.c: Don't include "inflow.h".  Include
+       "gdbsupport/scoped_ignore_sigttou.h".
+
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * tui/tui-io.c (tui_dispatch_mouse_event): New, factored out from
+       ...
+       (tui_dispatch_ctrl_char): ... this.  Move CTRL-L handling to
+       tui_getc_1.
+       (cur_seq, start_sequence): New.
+       (tui_getc_1): Pass key escape sequences for curses control keys to
+       readline.  Handle mouse and ctrl-l here.
+       (tui_resize_all): Disable/reenable the keypad if the command
+       window has the focus too.
+       * tui/tui-win.c (tui_set_focus_command): Don't change keypad
+       setting.
+       * tui/tui.c (tui_rl_other_window): Don't change keypad setting.
+
+2021-06-16  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * silent-rules.mk (ECHO_CCLD, ECHO_AR, ECHO_RANLIB): New.
+
+2021-06-16  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/26327
+       * dwarf2/cu.h (dwarf2_cu::ancestor): Remove.
+       (dwarf2_cu::get_builder): Declare and move ...
+       * dwarf2/cu.c (dwarf2_cu::get_builder): ... here.  Use sym_cu instead
+       of ancestor.  Assert return value is non-null.
+       * dwarf2/read.c (read_file_scope): Set per_objfile->sym_cu.
+       (follow_die_offset, follow_die_sig_1): Remove setting of ancestor.
+       (dwarf2_per_objfile): Add sym_cu field.
+
+2021-06-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/gdb.exp (exec_is_pie): Match new PIE readelf output.
+
+2021-06-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (GNULIB_BUILDDIR): Rename to ...
+       (GNULIB_PARENT_DIR): ... this.  Remove "gnulib" from value.
+
+2021-06-14  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure.ac: Check for <sys/procctl.h>.
+       * config.in, configure: Regenerate.
+       * fbsd-nat.c: Include <sys/procctl.h> if present.
+       [PROC_ASLR_CTL] (maybe_disable_address_space_randomization): New.
+       (fbsd_nat_target::create_inferior)
+       (fbsd_nat_target::supports_disable_randomization): New.
+       * fbsd-nat.h (fbsd_nat_target::create_inferior)
+       (fbsd_nat_target::supports_disable_randomization): New.
+
+2021-06-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * compile/compile.c: Include missing header signal.h.
+
+2021-06-12  John Baldwin  <jhb@FreeBSD.org>
+
+       * remote.c (remote_new_objfile): Fix indentation.
+
+2021-06-11  Kevin Buettner  <kevinb@redhat.com>
+
+       * solib.c (libpthread_name_p): Match "libc" in addition
+       to "libpthread".
+       * linux-thread-db.c (libpthread_objfile_p): New function.
+       (libpthread_name_p): Adjust preexisting callers to use
+       libpthread_objfile_p().
+
+2021-06-11  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/loc.h (struct call_site_stuff): Remove.
+
+2021-06-11  Tom Tromey  <tom@tromey.com>
+
+       PR rust/23427
+       * rust-parse.c (rust_parser::lex_identifier): Handle raw
+       identifiers.
+       (rust_lex_tests): Add raw identifier tests.
+
+2021-06-08  Lancelot Six  <lsix@lancelotsix.com>
+
+       * python/lib/gdb/FrameDecorator.py (FrameDecorator): Use 'is None'
+       instead of '== None'.
+       (FrameVars): Use 'is not None' instead of '!= None'.
+       * python/lib/gdb/command/frame_filters.py (SetFrameFilterPriority):
+       Use 'is None' instead of '== None' and 'is not None' instead of '!=
+       None'.
+
+2021-06-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * inferior.h (class inferior) <in_initial_library_scan>: New.
+       * infcmd.c (post_create_inferior): Set in_initial_library_scan.
+       * infrun.c (follow_fork_inferior): Likewise.
+       * linux-thread-db.c (try_thread_db_load): Catch exception thrown
+       by try_thread_db_load_1
+       (thread_db_load): Return early if in_initial_library_scan is
+       set.
+       * remote.c (remote_new_objfile): Return early if
+       in_initial_library_scan is set.
+
+2021-06-07  Pedro Alves  <pedro@palves.net>
+
+       * dwarf2/read.c (struct partial_die_info): Add defaulted copy
+       ctor.
+       * symtab.h (struct symbol): Add defaulted copy assignment
+       operator.
+
+2021-06-07  Pedro Alves  <pedro@palves.net>
+
+       * completer.c (RL_QF_SINGLE_QUOTE, RL_QF_DOUBLE_QUOTE)
+       (RL_QF_BACKSLASH, RL_QF_OTHER_QUOTE): Delete.
+       (gdb_rl_find_completion_word): Remove write-only 'found_quote'
+       local.
+
+2021-06-07  Pedro Alves  <pedro@palves.net>
+
+       * nat/amd64-linux-siginfo.c (union nat_sigval): Rename to ...
+       (nat_sigval_t): ... this and remove typedef of same name.
+       (struct nat_siginfo): Rename to ...
+       (nat_siginfo_t): ... this and remove typedef of same name.
+       (struct compat_sigval): Rename to ...
+       (compat_sigval_t): ... this and remove typedef of same name.
+       (struct compat_siginfo): Rename to ...
+       (compat_siginfo_t): ... this and remove typedef of same name.
+       (struct compat_x32_siginfo): Rename to ...
+       (compat_x32_siginfo_t): ... this and remove typedef of same name.
+       (amd64_linux_siginfo_fixup_common): Adjust.
+
+2021-06-07  Pedro Alves  <pedro@palves.net>
+
+       * nat/amd64-linux-siginfo.c (compat_x32_siginfo_t): Move
+       __attribute__ __aligned__ from the typedef to the struct.
+
+2021-06-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/27847
+       * amd64-tdep.c (amd64_has_unaligned_fields): Move call to
+       type_align, and spot case where the alignment is unknown.
+
+2021-06-07  Carl Love  <cel@us.ibm.com>
+
+       * ppc-tdep.h (ppc_insn_prefix_dform): Declare.
+       * ppc64-tdep.c(insn_md, insn_x, insn_xo): New macros.
+       (ppc64_plt_pcrel_entry_point, ppc64_pcrel_linkage1_target,
+       ppc64_pcrel_linkage2_target): New functions.
+       (ppc64_standard_linkage9, ppc64_standard_linkage10,
+       ppc64_standard_linkage11, ppc64_standard_linkage12): New ppc
+       instruction patterns.
+       (ppc64_standard_linkage9, ppc64_standard_linkage10,
+       ppc64_standard_linkage11, ppc64_standard_linkage12): New variables
+       in define MAX expression.
+       (ppc64_skip_trampoline_code_1): Handle ppc64_standard_linkage9,
+       ppc64_standard_linkage10, ppc64_standard_linkage11,
+       ppc64_standard_linkage12.
+       * (ppc_insn_prefix_dform): New function.
+
 2021-06-07  Simon Marchi  <simon.marchi@polymtl.ca>
 
        PR gdb/27899