binutils-gdb/gdb/cli
Pedro Alves 93bcb04349 Allow "unlimited" abbreviations
Currently we can abbreviate "on/off/enable/disable/yes/no" in boolean
settings,

  (gdb) set non-stop of
  (gdb) set non-stop en

we can abbreviate the items of enumeration commands,

  (gdb) set print frame-arguments scal
  (gdb) set scheduler-locking rep

but we cannot abbreviate "unlimited" in integer commands.

 (gdb) set print elements u
 No symbol "u" in current context.

This commit fixes that.

Testcases will be in gdb.base/settings.exp and gdb.base/options.exp,
in following patches.

gdb/ChangeLog:
2019-06-13  Pedro Alves  <palves@redhat.com>

	* cli/cli-setshow.c (is_unlimited_literal): Allow abbreviations.
2019-06-13 00:09:11 +01:00
..
cli-cmds.c Make check_for_argument skip whitespace after arg itself 2019-06-13 00:08:50 +01:00
cli-cmds.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-decode.c Improve usability and/or readibility of help and apropos output. 2019-06-03 21:59:18 +02:00
cli-decode.h Improve usability and/or readibility of help and apropos output. 2019-06-03 21:59:18 +02:00
cli-dump.c Introduce and use make_unique_xstrdup 2019-06-04 22:48:32 +01: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 Add debug redirect option 2019-05-17 14:21:47 +01:00
cli-script.c Replace throw_exception with throw in some cases 2019-04-08 09:05:41 -06:00
cli-script.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-setshow.c Allow "unlimited" abbreviations 2019-06-13 00:09:11 +01:00
cli-setshow.h Normalize include guards in gdb 2019-02-07 03:27:23 -07: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 Add highlight style, title style, fputs_highlighted. Improve 'show style' 2019-06-03 21:59:11 +02:00
cli-utils.c Make check_for_argument skip whitespace after arg itself 2019-06-13 00:08:50 +01:00
cli-utils.h Make check_for_argument skip whitespace after arg itself 2019-06-13 00:08:50 +01:00