aboutsummaryrefslogtreecommitdiff
path: root/gold/powerpc.cc
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-09-24 23:35:47 +0100
committerSimon Marchi <simon.marchi@polymtl.ca>2019-11-20 23:11:41 -0500
commit379876d22a8950594835b6861d5f4dadd2bf66f3 (patch)
tree5ce3776ce38ee27dfdf989f80a13ce06e110314e /gold/powerpc.cc
parentce8ccaa665ee9c235dffc179f9e8fc047fad9548 (diff)
downloadgdb-379876d22a8950594835b6861d5f4dadd2bf66f3.zip
gdb-379876d22a8950594835b6861d5f4dadd2bf66f3.tar.gz
gdb-379876d22a8950594835b6861d5f4dadd2bf66f3.tar.bz2
gdb/mi: Add new commands -symbol-info-{functions,variables,types}
Add new MI commands -symbol-info-functions, -symbol-info-variables, and -symbol-info-types which correspond to the CLI commands 'info functions', 'info variables', and 'info types' respectively. gdb/ChangeLog: * mi/mi-cmds.c (mi_cmds): Add '-symbol-info-functions', '-symbol-info-variables', and '-symbol-info-types'. * mi/mi-cmds.h (mi_cmd_symbol_info_functions): Declare. (mi_cmd_symbol_info_variables): Declare. (mi_cmd_symbol_info_types): Declare. * mi/mi-symbol-cmds.c: Add 'source.h' and 'mi-getopt.h' includes. (mi_info_one_symbol_details): New function. (class mi_symbol_info_emitter): New class. (mi_symbol_info): New function. (mi_info_functions_or_variables): New function. (mi_cmd_symbol_info_functions): New function. (mi_cmd_symbol_info_types): New function. (mi_cmd_symbol_info_variables): New function. * NEWS: Mention new commands. gdb/testsuite/ChangeLog: * gdb.mi/mi-sym-info-1.c: New file. * gdb.mi/mi-sym-info-2.c: New file. * gdb.mi/mi-sym-info.exp: New file. gdb/doc/ChangeLog: * doc/gdb.texinfo (GDB/MI Symbol Query): Document new MI command -symbol-info-functions, -symbol-info-types, and -symbol-info-variables. Change-Id: Ic2fc6a6750bbce91cdde2344791014e5ef45642d
Diffstat (limited to 'gold/powerpc.cc')
0 files changed, 0 insertions, 0 deletions