gdb/mi: Add -symbol-info-modules command
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 3 Oct 2019 21:12:09 +0000 (22:12 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 27 Nov 2019 12:02:02 +0000 (12:02 +0000)
commitdb5960b4d22761507097f816b1dac3bb56a22bb5
tree211f7ccc6e5dd273b2c1f93e4dfc0a94f9e75d10
parent7dc42066097ca6188ecd2c505d865e68d84998ee
gdb/mi: Add -symbol-info-modules command

Add '-symbol-info-modules', an MI version of the CLI 'info modules'
command.

gdb/ChangeLog:

* mi/mi-cmds.c (mi_cmds): Add 'symbol-info-modules' entry.
* mi/mi-cmds.h (mi_cmd_symbol_info_modules): Declare.
* mi/mi-symbol-cmds.c (mi_cmd_symbol_info_modules): New function.
* NEWS: Mention new MI command.

gdb/testsuite/ChangeLog:

* gdb.mi/mi-fortran-modules-2.f90: New file.
* gdb.mi/mi-fortran-modules.exp: New file.
* gdb.mi/mi-fortran-modules.f90: New file.

gdb/doc/ChangeLog:

* doc/gdb.texinfo (GDB/MI Symbol Query): Document new MI command
-symbol-info-modules.

Change-Id: Ibc618010d1d5f36ae8a8baba4fb9d9d724e62b0f
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h
gdb/mi/mi-symbol-cmds.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-fortran-modules-2.f90 [new file with mode: 0644]
gdb/testsuite/gdb.mi/mi-fortran-modules.exp [new file with mode: 0644]
gdb/testsuite/gdb.mi/mi-fortran-modules.f90 [new file with mode: 0644]