summaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-12 21:13:40 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:57 -0600
commit8384c35618fdfa66ea3ec6e84072cccc6192dd48 (patch)
tree3d5fabb72b89428250abe173ddc5feecb20ee0d9 /gdb/dwarf2read.c
parent884beb0c41d8479e3c05f3492cb65da05ed882d1 (diff)
Constify save_gdb_index_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * dwarf2read.c (save_gdb_index_command): Constify.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 11f1c887ae..8c056da59f 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -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;