binutils-gdb/gdb/cli
Andrew Burgess b16507e091 gdb: Make use of gdb::option framework for some info commands
Update the 'info variables', 'info functions', 'info locals', and
'info args' commands to make use of the gdb::options framework.

There should be no user visible changes after this commit as I have
left the help text generation using the existing mechanism, which
already tries to customise the text for each of the commands.

gdb/ChangeLog:

	* cli/cli-utils.c (extract_info_print_args): Delete.
	(extract_arg_maybe_quoted): Delete.
	(info_print_options_defs): New variable.
	(make_info_print_options_def_group): New function.
	(extract_info_print_options): Define new function.
	* cli/cli-utils.h (extract_info_print_args): Delete.
	(struct info_print_options): New structure.
	(extract_info_print_options): Declare new function.
	* stack.c (info_locals_command): Update to use new
	extract_info_print_options, also add a header comment.
	(info_args_command): Likewise.
	* symtab.c (info_variables_command): Likewise.
	(info_functions_command): Likewise.
2019-07-11 20:18:17 +01:00
..
cli-cmds.c Remove init_cli_cmds 2019-07-11 10:28:27 -06:00
cli-cmds.h Remove init_cli_cmds 2019-07-11 10:28:27 -06:00
cli-decode.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
cli-decode.h Don't include gdbarch.h from defs.h 2019-07-10 14:53:53 -06:00
cli-dump.c Don't include gdbarch.h from defs.h 2019-07-10 14:53:53 -06:00
cli-interp.c Add debug redirect option 2019-05-17 14:21:47 +01:00
cli-interp.h Add debug redirect option 2019-05-17 14:21:47 +01:00
cli-logging.c Do not emit style escape sequences to log file 2019-06-14 14:13:29 -06:00
cli-option.c gdb: Allow quoting around string options in the gdb::option framework 2019-07-11 20:18:11 +01:00
cli-option.h Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
cli-script.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
cli-script.h Don't include gdbarch.h from defs.h 2019-07-10 14:53:53 -06:00
cli-setshow.c Introduce the "with" command 2019-07-03 13:35:45 +01:00
cli-setshow.h Introduce the "with" command 2019-07-03 13:35:45 +01:00
cli-style.c Add highlight style, title style, fputs_highlighted. Improve 'show style' 2019-06-03 21:59:11 +02:00
cli-style.h Don't include gdbarch.h from defs.h 2019-07-10 14:53:53 -06:00
cli-utils.c gdb: Make use of gdb::option framework for some info commands 2019-07-11 20:18:17 +01:00
cli-utils.h gdb: Make use of gdb::option framework for some info commands 2019-07-11 20:18:17 +01:00