This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 52/67] Constify save_gdb_index_command
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Wed, 20 Sep 2017 23:10:08 -0600
- Subject: [RFA 52/67] Constify save_gdb_index_command
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* 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