binutils-gdb/gdb/cli
Tom Tromey e799154c3b constify some cli-utils stuff
This constifies a few functions in cli-utils -- get_number_trailer and
friends -- and then fixes the fallout.

2014-07-30  Tom Tromey  <tromey@redhat.com>

	* breakpoint.c (map_breakpoint_numbers): Update.
	* cli/cli-utils.c (get_number_trailer): Make "pp" const.  Update.
	(get_number_const): New function.
	(get_number): Rewrite using get_number_const.
	(init_number_or_range): Make "string" const.
	(number_is_in_list): Make "list" const.
	* cli/cli-utils.h (get_number_const): Declare.
	(struct get_number_or_range_state) <string, end_ptr>: Now const.
	(init_number_or_range, number_is_in_list): Update.
	* printcmd.c (map_display_numbers): Update.
	* value.c (value_from_history_ref): Constify.
	* value.h (value_from_history_ref): Update.
2014-07-30 08:02:52 -06:00
..
cli-cmds.c constify error_no_arg 2014-06-26 09:14:18 -06:00
cli-cmds.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cli-decode.c constify command docs 2014-07-24 11:30:04 -06:00
cli-decode.h constify command docs 2014-07-24 11:30:04 -06:00
cli-dump.c constify cli-dump.c 2014-07-24 11:30:01 -06:00
cli-interp.c Make display_gdb_prompt CLI-only. 2014-05-29 13:47:09 +01:00
cli-logging.c Assign 'targerr' instead of 'targ' to gdb_stdtargerr. 2014-07-03 14:57:33 -04:00
cli-script.c constify command docs 2014-07-24 11:30:04 -06:00
cli-script.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cli-setshow.c constify command prefix 2014-07-24 11:30:04 -06:00
cli-setshow.h constify command prefix 2014-07-24 11:30:04 -06:00
cli-utils.c constify some cli-utils stuff 2014-07-30 08:02:52 -06:00
cli-utils.h constify some cli-utils stuff 2014-07-30 08:02:52 -06:00