Constify some commands in exec.c, plus symbol_file_command
authorTom Tromey <tom@tromey.com>
Wed, 13 Sep 2017 00:39:07 +0000 (18:39 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:49 +0000 (08:44 -0600)
commit1d8b34a7a233d89938fd173389f7884aa7d105b3
tree2822134aec724b165393be86690f7deba6c399d7
parent442019e118afb6bdbae490c0b072e8f024f2d9a2
Constify some commands in exec.c, plus symbol_file_command

Note that this commit also changes deprecated_file_changed_hook -- not
used in the tree, but Insight will require a (presumably minor)
change.

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* symfile.c (symbol_file_command): Constify.
* gdbcore.h (deprecated_file_changed_hook): Constify.
* exec.c (deprecated_file_changed_hook, exec_file_command)
(file_command): Constify.
* defs.h (symbol_file_command): Constify.
gdb/ChangeLog
gdb/defs.h
gdb/exec.c
gdb/gdbcore.h
gdb/symfile.c