]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
gdb: fix python/lib/gdb/__init__.py formatting
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 05c307bd303882fa7b8390d66a8db1d728c330b7..5fb76d03f8529f49a2671672220264b86905497b 100644 (file)
@@ -1,3 +1,197 @@
+2021-06-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * python/lib/gdb/__init__.py: Format.
+
+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.