X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=5fb76d03f8529f49a2671672220264b86905497b;hb=224506e95d2d44aa6583cbcda9f4b7305f834ab3;hp=b70413b2c212635cc76b359ea90ec4b0564394ae;hpb=48d7020b7fe5a7541490bab90e1a643216102482;p=thirdparty%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b70413b2c21..5fb76d03f85 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,502 @@ +2021-06-22 Simon Marchi + + * python/lib/gdb/__init__.py: Format. + +2021-06-22 Simon Marchi + + * infrun.c (do_target_wait): Remove wait_ptid parameter. + (fetch_inferior_event): Adjust. + +2021-06-22 Simon Marchi + + * 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 + + PR symtab/27999 + * dwarf2/loc.c (decode_debug_loclists_addresses): Support + DW_LLE_start_end. + +2021-06-22 Andrew Burgess + + * 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 + + * 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) : New member + variable. + : Also compare vlen. + : 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 + + * 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 + + * python/py-inferior.c (infpy_get_connection_num): Call + gdb_py_object_from_longest instead of PyLong_FromLong directly. + +2021-06-21 Andrew Burgess + + * python/py-unwind.c (unwind_infopy_add_saved_register): Handle + saving user registers. + +2021-06-19 Mike Frysinger + + * 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 + + * 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) + : Initialize with ConsumePending=false. + +2021-06-17 Pedro Alves + + * Makefile.in (SELFTESTS_SRCS): Add + unittests/scoped_ignore_signal-selftests.c. + * unittests/scoped_ignore_signal-selftests.c: New. + +2021-06-17 Pedro Alves + + * gdbsupport/scoped_ignore_signal.h: New. + * compile/compile.c: Include gdbsupport/scoped_ignore_signal.h + instead of . Don't include . + (scoped_ignore_sigpipe): Remove. + * gdbsupport/scoped_ignore_sigttou.h: Include gdbsupport/scoped_ignore_signal.h + instead of . Don't include . + (lazy_init): New. + (scoped_ignore_sigttou): Reimplement using scoped_ignore_signal + and lazy_init. + +2021-06-17 Pedro Alves + + * 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 + + * 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 + + * silent-rules.mk (ECHO_CCLD, ECHO_AR, ECHO_RANLIB): New. + +2021-06-16 Tom de Vries + + 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 + + * testsuite/lib/gdb.exp (exec_is_pie): Match new PIE readelf output. + +2021-06-14 Mike Frysinger + + * Makefile.in (GNULIB_BUILDDIR): Rename to ... + (GNULIB_PARENT_DIR): ... this. Remove "gnulib" from value. + +2021-06-14 John Baldwin + + * configure.ac: Check for . + * config.in, configure: Regenerate. + * fbsd-nat.c: Include 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 + + * compile/compile.c: Include missing header signal.h. + +2021-06-12 John Baldwin + + * remote.c (remote_new_objfile): Fix indentation. + +2021-06-11 Kevin Buettner + + * 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 + + * dwarf2/loc.h (struct call_site_stuff): Remove. + +2021-06-11 Tom Tromey + + 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 + + * 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 + + * inferior.h (class inferior) : 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 + + * 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 + + * 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 + + * 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 + + * nat/amd64-linux-siginfo.c (compat_x32_siginfo_t): Move + __attribute__ __aligned__ from the typedef to the struct. + +2021-06-07 Andrew Burgess + + 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 + + * 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 + + PR gdb/27899 + * sparc-nat.c (sparc_fetch_inferior_registers): Set + inferior_ptid instead of using switch_to_thread. + (sparc_store_inferior_registers): Likewise. + +2021-06-05 Bernd Edlinger + + * compile/compile.c (scoped_ignore_sigpipe): New helper class. + (compile_to_object): Ignore SIGPIPE before calling the plugin. + +2021-06-05 Tom Tromey + + * data-directory/Makefile.in (Makefile): Use correct directory + name. + +2021-06-05 Tom Tromey + + * data-directory/Makefile.in (Makefile): Rewrite. + +2021-06-05 Tom Tromey + + * configure: Rebuild. + * configure.ac: Add ACX_NONCANONICAL_TARGET. + +2021-06-05 Shahab Vahedi + + * NEWS: Document 'set disassembler-options' support for the ARC + target. + * arc-tdep.c (arc_gdbarch_init): Set + 'gdbarch_valid_disassembler_options'. + +2021-06-04 Tom Tromey + + * dwarf2/read.h (dwarf2_fetch_die_type_sect_off): Add 'var_name' + parameter. + * dwarf2/loc.c (dwarf2_evaluate_property) : New case. + (compute_var_value): New function. + (sect_variable_value): Use compute_var_value. + * dwarf2/read.c (attr_to_dynamic_prop): Handle DW_TAG_variable. + (var_decl_name): New function. + (dwarf2_fetch_die_type_sect_off): Add 'var_name' parameter. + * gdbtypes.h (enum dynamic_prop_kind) : New + constant. + (union dynamic_prop_data) : New member. + (struct dynamic_prop) : New + methods. + +2021-06-04 Andrew Burgess + + * remote.c (remote_target) + : Add additional debug + output. + +2021-06-04 Hannes Domani + + * python/py-tui.c (class tui_py_window): Add click function. + (tui_py_window::click): Likewise. + +2021-06-04 Hannes Domani + + * ser-mingw.c (console_select_thread): Handle MOUSE_EVENT. + * tui/tui-data.h (struct tui_win_info): Add click function. + * tui/tui-io.c (tui_prep_terminal): Enable mouse events. + (tui_deprep_terminal): Disable mouse events. + (tui_dispatch_ctrl_char): Handle KEY_MOUSE. + * tui/tui.c (tui_disable): Disable mouse events. + +2021-06-03 Magne Hov + + PR python/27841 + * eval.c (expression::evaluate): Check inferior_ptid. + +2021-06-03 Pedro Alves + + * MAINTAINERS (The Official FSF-appointed GDB Maintainers): Remove + affiliation. + (Global Maintainers): Update my address. + (Write After Approval): Remove stale entry. + +2021-06-03 John Baldwin + + * fbsd-tdep.c (FBSD_SI_USER, FBSD_SI_QUEUE, FBSD_SI_TIMER) + (FBSD_SI_ASYNCIO, FBSD_SI_MESGQ, FBSD_SI_KERNEL, FBSD_SI_LWP) + (FBSD_ILL_ILLOPC, FBSD_ILL_ILLOPN, FBSD_ILL_ILLADR) + (FBSD_ILL_ILLTRP, FBSD_ILL_PRVOPC, FBSD_ILL_PRVREG) + (FBSD_ILL_COPROC, FBSD_ILL_BADSTK, FBSD_BUS_ADRALN) + (FBSD_BUS_ADRERR, FBSD_BUS_OBJERR, FBSD_BUS_OOMERR) + (FBSD_SEGV_MAPERR, FBSD_SEGV_ACCERR, FBSD_SEGV_PKUERR) + (FBSD_FPE_INTOVF, FBSD_FPE_INTDIV, FBSD_FPE_FLTDIV) + (FBSD_FPE_FLTOVF, FBSD_FPE_FLTUND, FBSD_FPE_FLTRES) + (FBSD_FPE_FLTINV, FBSD_FPE_FLTSUB, FBSD_TRAP_BRKPT) + (FBSD_TRAP_TRACE, FBSD_TRAP_DTRACE, FBSD_TRAP_CAP) + (FBSD_CLD_EXITED, FBSD_CLD_KILLED, FBSD_CLD_DUMPED) + (FBSD_CLD_TRAPPED, FBSD_CLD_STOPPED, FBSD_CLD_CONTINUED) + (FBSD_POLL_IN, FBSD_POLL_OUT, FBSD_POLL_MSG, FBSD_POLL_ERR) + (FBSD_POLL_PRI, FBSD_POLL_HUP, fbsd_signal_cause) + (fbsd_report_signal_info): New. + (fbsd_init_abi): Use fbsd_report_signal_info as gdbarch + report_signal_info method. + +2021-06-03 Magne Hov + + * MAINTAINERS (Write After Approval): Add Magne Hov. + +2021-06-03 Hannes Domani + + * python/py-symbol.c (gdbpy_initialize_symbols): Restore + gdb.SYMBOL_LABEL_DOMAIN constant. + +2021-06-01 John Baldwin + + * infrun.c (handle_inferior_event): Only call + gdbarch_displaced_step_restore_all_in_ptid if + gdbarch_supports_displaced_stepping is true. + +2021-06-01 Tom Tromey + + * Makefile.in (all-data-directory): Remove. + (data-directory/Makefile): Remove. + +2021-06-01 Tom Tromey + + * configure: Rebuild. + * configure.ac: Use AS_HELP_STRING for enable-shared. Fix typo. + +2021-06-01 Tom Tromey + + * silent-rules.mk (ECHO_CC): New variable. + +2021-06-01 Tom Tromey + + * Makefile.in (SUBDIRS): Add testsuite. + (all): Don't exclude testsuite. + +2021-06-01 Tom Tromey + + * configure.ac: Copy some code from testsuite/configure.ac. + (enable_libctf): Subst this, not ENABLE_LIBCTF. + * configure: Rebuild. + +2021-06-01 Tom de Vries + + PR symtab/26096 + * minsyms.c (msymbol_is_cold_clone): New function. + (msymbol_is_function): Use msymbol_is_cold_clone. + +2021-06-01 Fredrik Hederstierna + Andrew Burgess + + PR gdb/14383 + * Makefile.in (ALL_TARGET_OBS): Add arm-none-tdep.o. + (ALLDEPFILES): Add arm-none-tdep.c + * arm-none-tdep.c: New file. + * configure.tgt (arm*-*-*): Add arm-none-tdep.o to cpu_obs. + +2021-06-01 Andrew Burgess + Richard Bunt + + * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): Add + check for why the backtrace stopped. + +2021-05-31 Simon Marchi + + * dwarf2/read.h (struct structured_type) : New. + Update all callers. + (struct dwarf2_per_bfd) : Add + signature parameter, update all callers. + * dwar2/read.c (dwarf2_per_bfd::allocate_signatured_type): Add + signature parameter. + +2021-05-31 Simon Marchi + + * dwarf2/read.h (signatured_type_up): New, use where possible. + +2021-05-31 Simon Marchi + + * dwarf2/read.h (signatured_type, dwarf2_per_cu_data): Move up. + +2021-05-30 Tom Tromey + + * dwarf2/read.c (dwarf2_per_bfd::allocate_signatured_type): Set + is_debug_types. + (create_signatured_type_table_from_index) + (create_signatured_type_table_from_debug_names, add_type_unit) + (read_comp_units_from_section): Update. + +2021-05-30 Tom Tromey + + * dwarf2/read.h (struct dwarf2_per_bfd) : Remove. + (resize_symtabs): Update. + * dwarf2/read.c (dwarf2_per_bfd::allocate_per_cu) + (dwarf2_per_bfd::allocate_signatured_type): Update. + +2021-05-27 Simon Marchi + + * Fix tab after space indentation issues throughout. + +2021-05-27 Simon Marchi + + * Fix some indentation mistakes throughout. + +2021-05-27 Simon Marchi + + * breakpoint.h (iterate_over_bp_locations): Remove. Update + users to use all_bp_locations. + (all_bp_locations): New. + * breakpoint.c (all_bp_locations): Make non-static. + (iterate_over_bp_locations): Remove. + +2021-05-27 Simon Marchi + + * breakpoint.h (iterate_over_breakpoints): Remove. Update + callers to use all_breakpoints or all_breakpoints_safe. + (breakpoint_range, all_breakpoints, breakpoint_safe_range, + all_breakpoints_safe): Move here. + * breakpoint.c (all_breakpoints, all_breakpoints_safe): Make + non-static. + (iterate_over_breakpoints): Remove. + * python/py-finishbreakpoint.c (bpfinishpy_detect_out_scope_cb): + Return void. + * python/py-breakpoint.c (build_bp_list): Add comment, reverse + return value logic. + * guile/scm-breakpoint.c (bpscm_build_bp_list): Return void. + +2021-05-27 Simon Marchi + + * breakpoint.c (get_first_locp_gte_addr): Remove. + (ALL_BP_LOCATIONS_AT_ADDR): Remove. Replace all uses with + all_bp_locations_at_addr. + (struct bp_locations_at_addr_range): New. + (all_bp_locations_at_addr): New. + (bp_locations_compare_addrs): New. + 2021-05-27 Simon Marchi * breakpoint.c (ALL_BP_LOCATIONS): Remove, update users to use