X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=b63fe897fdd3b60fc7293821100c80b887968c21;hb=48c9b4333270c9b4e9c43ba78aea92765e68ccbc;hp=642cb6441b3438e1455a0894dffac3d0520a3b91;hpb=2677f2d3fdb07cc77d0d88e52fb37dfb6217dec9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 642cb6441b..b63fe897fd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,241 @@ +2020-09-09 Tom Tromey + + * ada-lang.c (remove_extra_symbols): Do not increment when + removing an element + +2020-09-08 Tom Tromey + + * gdb_bfd.c (gdb_bfd_open): Call bfd_fopen when fstat fails. + +2020-09-08 Tom Tromey + + 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 + + * infrun.c (fetch_inferior_event): Use + `switch_to_target_no_thread` to switch the target. + +2020-09-06 Tom Tromey + + * symfile.h (dwarf2_free_objfile): Don't declare. + +2020-09-03 Alok Kumar Sharma + + * 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 + + 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 + + * 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 + + * 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 + + * bcache.h (struct bcache) : 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 + + * 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 + + * dwarf2/read.c (struct field_info) : Change + type to bool. + +2020-08-31 Simon Marchi + + * dwarf2/read.c (struct field_info): Fix indentation. + +2020-08-31 Simon Marchi + + * frame-unwind.h (frame_prev_register_ftype): Fix adjective + ordering in comment. + * frame.c (frame_id_eq): Fix indentation. + +2020-08-31 Scott Linder + Simon Marchi + + * inline-frame.c (inline_frame_this_id): Remove assert that prevents + inline frame ids in outer frame. + +2020-08-31 Simon Marchi + + * frame.h (enum frame_id_stack_status) : New. + * frame.c (fprint_frame_id): Handle FID_STACK_OUTER. + (outer_frame_id): Use FID_STACK_OUTER instead of + FID_STACK_INVALID. + (frame_id_p): Don't check for outer_frame_id. + +2020-08-31 Simon Marchi + + * frame-unwind.c (frame_unwind_got_optimized): Don't set + regnum/frame in value. Call allocate_value_lazy. + * frame.c (frame_unwind_register_value): Use + val_print_not_saved. + +2020-08-31 Simon Marchi + + * gdbtypes.h (NULL_TYPE): Remove, change all uses to nullptr. + +2020-08-29 Pedro Alves + + * progspace.c (print_program_space): Use all_inferiors. Switch to + the inferior before calling target_pid_to_str. + +2020-08-28 Tom Tromey + + * xcoffread.c (xcoff_end_psymtab): Update comment. + * dbxread.c (dbx_end_psymtab): Update comment. + +2020-08-28 Tom de Vries + + PR breakpoint/26544 + * breakpoint.c (parse_breakpoint_sals): Remove const from struct + event_location. + (create_breakpoint): Same. + (base_breakpoint_decode_location): Same. + (bkpt_create_sals_from_location): Same. + (bkpt_decode_location): Same. + (bkpt_probe_create_sals_from_location): Same. + (bkpt_probe_decode_location): Same. + (tracepoint_create_sals_from_location): Same. + (tracepoint_decode_location): Same. + (tracepoint_probe_decode_location): Same. + (strace_marker_create_sals_from_location): Same. + (strace_marker_decode_location): Same. + (create_sals_from_location_default): Same. + (decode_location_default): Same. + * breakpoint.h (struct breakpoint_ops): Same. + (create_breakpoint): Same. + * linespec.h (decode_line_full): Same. + * linespec.c (decode_line_full): Same. Throw error if + result.size () == 0. + +2020-08-27 Pedro Alves + + PR gdb/26524 + * breakpoint.c (until_break_fsm) : Delete fields. + : New field. + : Adjust to save a breakpoint vector instead of + two individual breakpoints. + (until_break_fsm::should_stop): Loop over breakpoints in the + breakpoint vector. + (until_break_fsm::clean_up): Adjust to clear the breakpoints + vector. + (until_break_command): Handle location expanding into multiple + sals. + +2020-08-27 Pedro Alves + + PR gdb/26523 + * inline-frame.c (stopped_by_user_bp_inline_frame): Also consider + bp_until breakpoints user-specified locations. Update intro + comment. + +2020-08-27 Simon Marchi + + * gdb_bfd.h (gdb_bfd_section_iterator, gdb_bfd_section_range, + gdb_bfd_sections): New. + * maint.c (print_bfd_section_info): Change param type to + maint_print_section_data. + (print_objfile_section_info): Likewise. + (print_bfd_section_info_maybe_relocated): Likewise. + (maintenance_info_sections): Use gdb_bfd_sections. + +2020-08-25 Shahab Vahedi + + * MAINTAINERS: Add ARC target and maintainer. + +2020-08-25 Anton Kolesov + + * configure.tgt: ARC support for GNU/Linux. + * Makefile.in (ALL_TARGET_OBJS): Likewise. + * arc-linux-tdep.c: New file. + * arc-tdep.h (ARC_STATUS32_L_MASK, ARC_STATUS32_DE_MASK): Declare. + * arc-tdep.c (arc_write_pc): Use it. + +2020-08-25 Shahab Vahedi + + * arc-tdep.c (arc_check_for_hardware_loop): New. + * arc-tdep.h (gdbarch_tdep): New field has_hw_loops. + +2020-08-25 Shahab Vahedi + + * arc-tdep.h: Include "gdbarch.h". + +2020-08-25 Shahab Vahedi + + * arch/arc.h + (arc_gdbarch_features): New class to stir the selection of target XML. + (arc_create_target_description): Use FEATURES to choose XML target. + (arc_lookup_target_description): Use arc_create_target_description + to create _new_ target descriptions or return the already created + ones if the FEATURES is the same. + * arch/arc.c: Implementation of prototypes described above. + * gdb/arc-tdep.h (arc_regnum enum): Add more registers. + (arc_gdbarch_features_init): Initialize the FEATURES struct. + * arc-tdep.c (*_feature_name): Make feature names consistent. + (arc_register_feature): A new struct to hold information about + registers of a particular target/feature. + (arc_check_tdesc_feature): Check if XML provides registers in + compliance with ARC_REGISTER_FEATURE structs. + (arc_update_acc_reg_names): Add aliases for r58 and r59. + (determine_*_reg_feature_set): Which feature name to look for. + (arc_gdbarch_features_init): Given MACH and ABFD, initialize FEATURES. + (mach_type_to_arc_isa): Convert from a set of binutils machine types + to expected ISA enums to be used in arc_gdbarch_features structs. + * features/Makefile (FEATURE_XMLFILES): Add new files. + * gdb/features/arc/v1-aux.c: New file. + * gdb/features/arc/v1-aux.xml: Likewise. + * gdb/features/arc/v1-core.c: Likewise. + * gdb/features/arc/v1-core.xml: Likewise. + * gdb/features/arc/v2-aux.c: Likewise. + * gdb/features/arc/v2-aux.xml: Likewise. + * gdb/features/arc/v2-core.c: Likewise. + * gdb/features/arc/v2-core.xml: Likewise. + * NEWS (Changes since GDB 9): Announce obsolence of old feature names. + +2020-08-25 Gaius Mulley + Andrew Burgess + + PR m2/26372 + * m2-exp.y (exp): Improve comment for non_empty_arglist case, add + an assert. Remove single element array indexing pattern as the + MULTI_SUBSCRIPT support will handle this case too. + 2020-08-24 Simon Marchi * value.h (valprint_check_validity): Move declaration from