[PATCH 0/3] New MI commands for info functions/types/variables

Andrew Burgess
2019-09-26T23:09:45Z

Add new MI commands that are the equivalent of 'info functions', 'info
types', and 'info variables'. Patches #1 and #2 are just setup, and
patch #3 is the real change.

Thanks,
Andrew

--

Andrew Burgess (3):
gdb: Don't print a newline in language la_print_typedef methods
gdb: Split print_symbol_info into two parts
gdb/mi: Add new commands -symbol-info-{functions,variables,types}

gdb/ChangeLog | 35 ++++++
gdb/NEWS | 4 +
gdb/ada-typeprint.c | 1 -
gdb/c-typeprint.c | 2 +-
gdb/doc/ChangeLog | 6 +
gdb/doc/gdb.texinfo | 212 ++++++++++++++++++++++++++++++++++-
gdb/f-typeprint.c | 1 -
gdb/m2-typeprint.c | 2 +-
gdb/mi/mi-cmds.c | 3 +
gdb/mi/mi-cmds.h | 3 +
gdb/mi/mi-symbol-cmds.c | 195 ++++++++++++++++++++++++++++++++
gdb/p-typeprint.c | 2 +-
gdb/rust-lang.c | 2 +-
gdb/symtab.c | 89 +++++++++------
gdb/symtab.h | 8 ++
gdb/testsuite/ChangeLog | 6 +
gdb/testsuite/gdb.mi/mi-sym-info-1.c | 48 ++++++++
gdb/testsuite/gdb.mi/mi-sym-info-2.c | 43 +++++++
gdb/testsuite/gdb.mi/mi-sym-info.exp | 179 +++++++++++++++++++++++++++++
19 files changed, 794 insertions(+), 47 deletions(-)
create mode 100644 gdb/testsuite/gdb.mi/mi-sym-info-1.c
create mode 100644 gdb/testsuite/gdb.mi/mi-sym-info-2.c
create mode 100644 gdb/testsuite/gdb.mi/mi-sym-info.exp

--
2.14.5