diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-12 21:17:01 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:45:02 -0600 |
commit | c9d31bd6579d5bbd672937a76258031675d40f34 (patch) | |
tree | 09aac65f51de0851a9ef9132644caec9cfbac355 | |
parent | 1f3f85eba696bfff4fea5e66167ee001c07c4b0b (diff) | |
download | fsf-binutils-gdb-c9d31bd6579d5bbd672937a76258031675d40f34.zip fsf-binutils-gdb-c9d31bd6579d5bbd672937a76258031675d40f34.tar.gz fsf-binutils-gdb-c9d31bd6579d5bbd672937a76258031675d40f34.tar.bz2 |
Constify add_symbol_file_from_memory_command
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* symfile-mem.c (add_symbol_file_from_memory_command): Constify.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/symfile-mem.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e089959..b67c617 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2017-09-27 Tom Tromey <tom@tromey.com> + * symfile-mem.c (add_symbol_file_from_memory_command): Constify. + +2017-09-27 Tom Tromey <tom@tromey.com> + * demangle.c (demangle_command): Constify. 2017-09-27 Tom Tromey <tom@tromey.com> diff --git a/gdb/symfile-mem.c b/gdb/symfile-mem.c index b3543d6..6f34cab 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; |