gdb: change 'maint info section' to use command options
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6de7954fe031f062f9ef32f2240c909e7ffd9fdf..10f391e5ea531437890faba2d6fd9d4f322ba10c 100644 (file)
@@ -1,3 +1,74 @@
+2021-02-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * 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  <andrew.burgess@embecosm.com>
+
+       * 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  <andrew.burgess@embecosm.com>
+
+       * 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) <obj_section>: New
+       member function.
+       * printcmd.c (info_address_command): Make use of
+       bound_minimal_symbol::obj_section.
+
+2021-02-11  Alan Modra  <amodra@gmail.com>
+
+       * 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  <andrew.burgess@embecosm.com>
+
+       * 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  <andrew.burgess@embecosm.com>
 
        * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index
This page took 0.024581 seconds and 4 git commands to generate.