Constify save_gdb_index_command

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

	* dwarf2read.c (save_gdb_index_command): Constify.
This commit is contained in:
Tom Tromey 2017-09-12 21:13:40 -06:00
parent 884beb0c41
commit 8384c35618
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-09-27 Tom Tromey <tom@tromey.com>
* dwarf2read.c (save_gdb_index_command): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
* stap-probe.c (info_probes_stap_command): Constify.

View File

@ -24028,7 +24028,7 @@ write_psymtabs_to_index (struct objfile *objfile, const char *dir)
GDB manual. Any changes here must be documented there. */
static void
save_gdb_index_command (char *arg, int from_tty)
save_gdb_index_command (const char *arg, int from_tty)
{
struct objfile *objfile;