]> 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 c56c129d0b1f7b66d3f7c78303cbabd7bdaf0757..2bef3a89592fc3d8ed3a169431a872c08e1a0677 100644 (file)
@@ -1,3 +1,137 @@
+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.