binutils-gdb/gdb/mi
Tom Tromey f2fc30156c Constify some linespec functions
This changes a few linespec functions to work on "const char *" and
then fixes up all the callers.  This allows further constification
elsewhere.

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

	* tracepoint.c (info_scope_command): Constify.
	* python/python.c (gdbpy_decode_line): Constify.
	* python/py-breakpoint.c (bppy_init): Constify.
	* mi/mi-cmd-break.c (mi_cmd_break_insert_1): Constify.
	* location.h: (new_linespec_location)
	(string_to_event_location_basic, string_to_event_location):
	Constify.
	* location.c (new_linespec_location)
	(string_to_event_location_basic, string_to_event_location):
	Constify.
	* linespec.h (decode_line_with_current_source)
	(decode_line_with_last_displayed, linespec_lex_to_end): Constify.
	* linespec.c (linespec_lex_to_end)
	(decode_line_with_current_source)
	(decode_line_with_last_displayed): Constify.
	* guile/scm-breakpoint.c (gdbscm_register_breakpoint_x):
	Constify.
	* cli/cli-cmds.c (edit_command, list_command): Constify.
	* breakpoint.h (until_break_command, watch_command_wrapper)
	(awatch_command_wrapper, rwatch_command_wrapper)
	(init_ada_exception_breakpoint): Constify.
	* breakpoint.c (break_command_1, dprintf_command)
	(break_range_command, watch_command_wrapper)
	(rwatch_command_wrapper, awatch_command_wrapper)
	(until_break_command, init_ada_exception_breakpoint)
	(strace_marker_create_sals_from_location, trace_command)
	(ftrace_command, strace_command, struct tracepoint): Constify.
	* ax-gdb.c (agent_command_1): Constify.
	* ada-lang.c (ada_exception_sal): Constify.
2017-09-27 08:44:45 -06:00
..
ChangeLog-1999-2003
mi-cmd-break.c Constify some linespec functions 2017-09-27 08:44:45 -06:00
mi-cmd-break.h Change setup_breakpoint_reporting to return a scoped_restore 2017-09-11 16:15:07 -06:00
mi-cmd-catch.c Change setup_breakpoint_reporting to return a scoped_restore 2017-09-11 16:15:07 -06:00
mi-cmd-disas.c Introduce gdb_disassembly_flags 2017-09-04 18:23:22 +01:00
mi-cmd-env.c Get rid of "gdb_dirbuf" and use "getcwd (NULL, 0)" 2017-09-22 13:28:16 -04:00
mi-cmd-file.c Use ui_out_emit_tuple in more places 2017-09-09 13:46:05 -06:00
mi-cmd-info.c Introduce and use ui_out_emit_table 2017-08-03 07:58:51 -06:00
mi-cmd-stack.c Use ui_out_emit_list 2017-04-22 09:47:01 -06:00
mi-cmd-target.c -Wwrite-strings: Constify mi_cmd_argv_ftype's 'command' parameter 2017-04-05 19:21:34 +01:00
mi-cmd-var.c Use ui_out_emit_list and ui_out_emit_tuple with gdb::optional 2017-09-09 13:46:09 -06:00
mi-cmds.c Remove unnecessary function prototypes. 2017-09-09 11:02:37 -07:00
mi-cmds.h -Wwrite-strings: Constify mi_cmd_argv_ftype's 'command' parameter 2017-04-05 19:21:34 +01:00
mi-common.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-common.h C++-fy struct interp/cli_interp/tui_interp/mi_interp 2017-02-03 16:30:04 +00:00
mi-console.c Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy 2017-02-02 11:11:47 +00:00
mi-console.h Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy 2017-02-02 11:11:47 +00:00
mi-getopt.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-getopt.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-interp.c Remove make_cleanup_restore_target_terminal 2017-09-20 16:09:50 -06:00
mi-interp.h Add -file-list-shared-libraries MI command 2017-03-20 14:57:51 -04:00
mi-main.c Remove make_cleanup_regcache_xfree 2017-09-25 19:54:07 -06:00
mi-main.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-out.c Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy 2017-02-02 11:11:47 +00:00
mi-out.h Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy 2017-02-02 11:11:47 +00:00
mi-parse.c Make extract_arg return a std::string 2017-09-11 15:46:14 -06:00
mi-parse.h Use DISABLE_COPY_AND_ASSIGN 2017-09-19 10:10:03 +01:00
mi-symbol-cmds.c Use ui_out_emit_list 2017-04-22 09:47:01 -06:00