diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-12 18:39:07 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:49 -0600 |
commit | 1d8b34a7a233d89938fd173389f7884aa7d105b3 (patch) | |
tree | 2822134aec724b165393be86690f7deba6c399d7 /gdb/gdbcore.h | |
parent | 442019e118afb6bdbae490c0b072e8f024f2d9a2 (diff) | |
download | fsf-binutils-gdb-1d8b34a7a233d89938fd173389f7884aa7d105b3.zip fsf-binutils-gdb-1d8b34a7a233d89938fd173389f7884aa7d105b3.tar.gz fsf-binutils-gdb-1d8b34a7a233d89938fd173389f7884aa7d105b3.tar.bz2 |
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.
Diffstat (limited to 'gdb/gdbcore.h')
-rw-r--r-- | gdb/gdbcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h index 7554245..5c86e98 100644 --- a/gdb/gdbcore.h +++ b/gdb/gdbcore.h @@ -127,7 +127,7 @@ extern void (*deprecated_exec_file_display_hook) (const char *filename); /* Hook for "file_command", which is more useful than above (because it is invoked AFTER symbols are read, not before). */ -extern void (*deprecated_file_changed_hook) (char *filename); +extern void (*deprecated_file_changed_hook) (const char *filename); extern void specify_exec_file_hook (void (*hook) (const char *filename)); |