binutils-gdb/gdb/cli
Andrew Burgess a02fcd08dd gdb: fix error message for $_gdb_maint_setting
I spotted this behaviour:

  (gdb) p $_gdb_maint_setting("xxx")
  First argument of $_gdb_maint_setting must be a valid setting of the 'show' command.

Notice that GDB claims I need to use a setting from the 'show'
command, which isn't correct for $_gdb_maint_setting, in this case I
need to use a setting from 'maintenance show'.

This same issue is present for $_gdb_maint_setting_str.

This commit fixes this minor issue.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
2023-05-12 10:54:25 +01:00
..
cli-cmds.c gdb: fix error message for $_gdb_maint_setting 2023-05-12 10:54:25 +01:00
cli-cmds.h
cli-decode.c
cli-decode.h
cli-dump.c
cli-interp.c gdb: move struct ui and related things to ui.{c,h} 2023-05-01 15:40:54 -04:00
cli-interp.h
cli-logging.c
cli-option.c
cli-option.h
cli-script.c gdb: move struct ui and related things to ui.{c,h} 2023-05-01 15:40:54 -04:00
cli-script.h
cli-setshow.c gdb: make deprecated_show_value_hack static 2023-04-28 22:50:46 +01:00
cli-setshow.h
cli-style.c
cli-style.h
cli-utils.c
cli-utils.h