X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=10f391e5ea531437890faba2d6fd9d4f322ba10c;hb=bf3386f0c13f52cf379440b4d06ed849a9f5706b;hp=429e4d016f8174e95e4257b67e79a4cfe262a574;hpb=cf2b20752995e6f10d88afc49166e729c33beb48;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 429e4d016f..10f391e5ea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,139 @@ +2021-02-11 Andrew Burgess + + * NEWS: Mention changes to 'maint info sections'. + * maint.c (match_substring): Return a bool, fix whitespace issue. + (struct single_bfd_flag_info): New struct. + (bfd_flag_info): New static global. + (match_bfd_flags): Return a bool, use bfd_flag_info. + (print_bfd_flags): Use bfd_flag_info. + (maint_print_section_info): Delete trailing whitespace. + (struct maint_info_sections_opts): New struct. + (maint_info_sections_option_defs): New static global. + (maint_info_sections_completer): New function. + (maintenance_info_sections): Use option parsing mechanism. + (_initialize_maint_cmds): Update command help text for 'maint info + sections' and register a command completer. + +2021-02-11 Andrew Burgess + + * maint.c (print_bfd_section_info_maybe_relocated): Delete, + functionality merged into... + (maint_print_all_sections): ...this new function. + (maintenance_info_sections): Make use of maint_print_all_sections, + allow all objects to be printed even where there's no executable. + +2021-02-11 Andrew Burgess + + * breakpoint.c (resolve_sal_pc): Make use of + bound_minimal_symbol::obj_section. + * maint.c (maintenance_translate_address): Likewise. + * minsyms.c (minimal_symbol_upper_bound): Likewise. + * minsyms.h (struct bound_minimal_symbol) : New + member function. + * printcmd.c (info_address_command): Make use of + bound_minimal_symbol::obj_section. + +2021-02-11 Alan Modra + + * arm-symbian-tdep.c: Delete. + * NEWS: Mention arm-symbian removal. + * Makefile.in: Remove arm-symbian-tdep entries. + * configure.tgt: Remove arm*-*-symbianelf*. + * doc/gdb.texinfo: Remove mention of SymbianOS. + * osabi.c (gdb_osabi_names): Remove "Symbian". + * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN. + * testsuite/gdb.base/ending-run.exp: Remove E32Main handling. + * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf* + handling. + * testsuite/gdb.base/dup-sect.exp: Likewise. + * testsuite/gdb.base/long_long.exp: Likewise. + * testsuite/gdb.base/solib-weak.exp: Likewise. + * testsuite/gdb.guile/scm-section-script.exp: Likewise. + * testsuite/gdb.python/py-section-script.exp: Likewise. + * testsuite/lib/dwarf.exp: Likewise. + * testsuite/lib/gdb.exp: Likewise. + +2021-02-10 Andrew Burgess + + * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token. + (exp): New pattern using UNOP_OR_BINOP_INTRINSIC. + (one_or_two_args): New pattern. + (f77_keywords): Add lbound and ubound. + * f-lang.c (fortran_bounds_all_dims): New function. + (fortran_bounds_for_dimension): New function. + (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND. + (operator_length_f): Likewise. + (print_subexp_f): Likewise. + (dump_subexp_body_f): Likewise. + (operator_check_f): Likewise. + * std-operator.def (FORTRAN_LBOUND): Define. + (FORTRAN_UBOUND): Define. + +2021-02-10 Andrew Burgess + + * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index + and set_section_index member functions where appropriate. + * coffread.c (coff_symtab_read): Likewise. + (process_coff_symbol): Likewise. + * ctfread.c (set_symbol_address): Likewise. + * dwarf2/read.c (add_partial_symbol): Likewise. + (var_decode_location): Likewise. + * language.c: Likewise. + * minsyms.c (minimal_symbol_reader::record_full): Likewise. + (compact_minimal_symbols): Likewise. + (minimal_symbol_upper_bound): Likewise. + * objfiles.c (relocate_one_symbol): Likewise. + * psympriv.h (partial_symbol::obj_section): Likewise. + (partial_symbol::address): Likewise. + * psymtab.c (partial_symtab::add_psymbol): Likewise. + * stabsread.c (scan_file_globals): Likewise. + * symmisc.c (dump_msymbols): Likewise. + * symtab.c (general_symbol_info::obj_section): Likewise. + (fixup_section): Likewise. + (get_msymbol_address): Likewise. + * symtab.h (general_symbol_info::section): Rename to... + (general_symbol_info::m_section): ...this. + (general_symbol_info::set_section_index): New member function. + (general_symbol_info::section_index): Likewise. + (SYMBOL_SECTION): Delete. + (MSYMBOL_VALUE_ADDRESS): Make use of section_index and + set_section_index member functions where appropriate. + (MSYMBOL_SECTION): Delete. + (symbol::symbol): Update to initialize 'm_section'. + * xcoffread.c (read_xcoff_symtab): Make use of set_section_index. + (process_xcoff_symbol): Likewise. + +2021-02-10 Andrew Burgess + + * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and + MSYMBOL_OBJ_SECTION. + * findvar.c (language_defn::read_var_value): Likewise. + * infcmd.c (jump_command): Likewise. + * linespec.c (minsym_found): Likewise. + * maint.c (maintenance_translate_address): Likewise. + * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise. + (minimal_symbol_upper_bound): Likewise. + * parse.c (find_minsym_type_and_address): Likewise. + (operator_check_standard): Likewise. + * printcmd.c (info_address_command): Likewise. + * symmisc.c (dump_msymbols): Likewise. + (print_symbol): Likewise. + * symtab.c (general_symbol_info::obj_section): Define new + function. + (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION. + (find_pc_sect_compunit_symtab): Likewise. + (find_function_start_sal): Likewise. + (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and + MSYMBOL_OBJ_SECTION. + * symtab.h (struct general_symbol_info) : Declare new + function. + (SYMBOL_OBJ_SECTION): Delete. + (MSYMBOL_OBJ_SECTION): Delete. + +2021-02-09 Tom Tromey + + * stap-probe.c (stap_parse_argument_conditionally): Fix typo. + 2021-02-09 Tom de Vries PR symtab/27341