From: Tom Tromey Date: Wed, 13 Sep 2017 03:17:01 +0000 (-0600) Subject: Constify add_symbol_file_from_memory_command X-Git-Tag: users/gbenson/thread_db-test/2017-11-22~738 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9d31bd6579d5bbd672937a76258031675d40f34;p=thirdparty%2Fbinutils-gdb.git Constify add_symbol_file_from_memory_command gdb/ChangeLog 2017-09-27 Tom Tromey * symfile-mem.c (add_symbol_file_from_memory_command): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e0899591f91..b67c6172b72 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * symfile-mem.c (add_symbol_file_from_memory_command): Constify. + 2017-09-27 Tom Tromey * demangle.c (demangle_command): Constify. diff --git a/gdb/symfile-mem.c b/gdb/symfile-mem.c index b3543d6a56f..6f34cab46f7 100644 --- a/gdb/symfile-mem.c +++ b/gdb/symfile-mem.c @@ -145,7 +145,7 @@ symbol_file_add_from_memory (struct bfd *templ, CORE_ADDR addr, static void -add_symbol_file_from_memory_command (char *args, int from_tty) +add_symbol_file_from_memory_command (const char *args, int from_tty) { CORE_ADDR addr; struct bfd *templ;