[PATCHv2 0/4] Fortran info types, info modules, info module ...

Andrew Burgess andrew.burgess@embecosm.com
Thu Oct 3 11:29:00 GMT 2019


This is a new version of the series I originally posted here:

   https://sourceware.org/ml/gdb-patches/2019-07/msg00608.html

>From the original series patches #1, #4, and #5 have already been
merged, while patches #2 and #3 are no longer needed thanks to Tom's
recent copy relocation work.

In this series patches #1 and #2 are new, while patches #3, and #4
correspond to #6 and #7 respectively from the original series.

For the content of these patches then:

  #1, #2 - These are pretty simple testsuite changes.

  #3, #4 - I've updated these after the feedback from Eli and Tom in
   the original series, but the docs especially probably need another
   review.  The general strategy is mostly unchanged, but I now cover
   additional cases to handle .debug_names and .gdb_index.

Thanks,
Andrew

--

Andrew Burgess (4):
  gdb/testsuite: Allow cc-with-tweaks board file to be used with Fortran
  gdb/fortran: Add test for module variables in 'info variables' output
  gdb/fortran: Add new 'info modules' command
  gdb: Add new commands to list module variables and functions

 gdb/ChangeLog                              |  31 +++
 gdb/NEWS                                   |  18 ++
 gdb/doc/ChangeLog                          |   9 +
 gdb/doc/gdb.texinfo                        |  32 +++
 gdb/dwarf2read.c                           |  25 +++
 gdb/psymtab.c                              |   2 +
 gdb/symtab.c                               | 347 ++++++++++++++++++++++++++++-
 gdb/symtab.h                               |   5 +-
 gdb/testsuite/ChangeLog                    |  24 ++
 gdb/testsuite/boards/cc-with-tweaks.exp    |  10 +
 gdb/testsuite/gdb.fortran/info-modules.exp | 181 +++++++++++++++
 gdb/testsuite/gdb.fortran/info-types.exp   |   6 +-
 gdb/testsuite/gdb.fortran/info-types.f90   |  36 +++
 gdb/testsuite/gdb.fortran/module.exp       |  24 ++
 14 files changed, 743 insertions(+), 7 deletions(-)
 create mode 100644 gdb/testsuite/gdb.fortran/info-modules.exp

-- 
2.14.5



More information about the Gdb-patches mailing list