[RFA 52/67] Constify save_gdb_index_command

Tom Tromey
2017-09-21T05:39:45Z

* dwarf2read.c (save_gdb_index_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/dwarf2read.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index b1914cf..302ac42 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -24025,7 +24025,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;

--
2.9.4