old-cross-binutils/gdb/cli
Pedro Alves 82b821e99d Subject: Fix range validation of integer commands with "unlimited".
The range validation added by

  http://sourceware.org/ml/gdb-patches/2013-03/msg00767.html

Changes things to allow setting the command to INT_MAX or UINT_MAX
directly, with signed and unsigned commands respectively.  However,
that went a little bit too far, as in the cases of var_integer and
var_uinteger, those values are actually implementation detail.  It's
better to not expose them in the interface, and have users assume
those values mean "unlimited" too, so to be safer to expand the range
of the commands in the future if we want to.  Yes, it's pedantic, and
it's not likely users actually will do this, but MI frontends and
Python scripts might.

gdb/
2013-03-22  Pedro Alves  <palves@redhat.com>
	    Yao Qi  <yao@codesourcery.com>
	    Mark Kettenis  <kettenis@gnu.org>

	* cli/cli-setshow.c (do_set_command) <var_uinteger>:
	Don't let the user set the value to UINT_MAX directly.
	<var_integer>: Don't let the user set the value to INT_MAX
	directly.
2013-03-22 20:25:40 +00:00
..
cli-cmds.c Constify strings in tracepoint.c, lookup_cmd and the completers. 2013-03-13 18:34:55 +00:00
cli-cmds.h Consistent use of (C) after "Copyright". 2013-02-12 19:03:57 +00:00
cli-decode.c Constify strings in tracepoint.c, lookup_cmd and the completers. 2013-03-13 18:34:55 +00:00
cli-decode.h Constify strings in tracepoint.c, lookup_cmd and the completers. 2013-03-13 18:34:55 +00:00
cli-dump.c Consistent use of (C) after "Copyright". 2013-02-12 19:03:57 +00:00
cli-dump.h Consistent use of (C) after "Copyright". 2013-02-12 19:03:57 +00:00
cli-interp.c Consistent use of (C) after "Copyright". 2013-02-12 19:03:57 +00:00
cli-logging.c Consistent use of (C) after "Copyright". 2013-02-12 19:03:57 +00:00
cli-script.c Constify strings in tracepoint.c, lookup_cmd and the completers. 2013-03-13 18:34:55 +00:00
cli-script.h Constify strings in tracepoint.c, lookup_cmd and the completers. 2013-03-13 18:34:55 +00:00
cli-setshow.c Subject: Fix range validation of integer commands with "unlimited". 2013-03-22 20:25:40 +00:00
cli-setshow.h New commands "mt set per-command {space,time,symtab} {on,off}". 2013-03-21 17:37:30 +00:00
cli-utils.c * ada-lang.c (ada_read_renaming_var_value): Pass const 2013-03-12 17:39:45 +00:00
cli-utils.h * ada-lang.c (ada_read_renaming_var_value): Pass const 2013-03-12 17:39:45 +00:00