Constify add_path and friends
authorTom Tromey <tom@tromey.com>
Wed, 11 Oct 2017 23:04:29 +0000 (17:04 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 7 Nov 2017 20:59:09 +0000 (13:59 -0700)
commit5614fb77203f5ea01edfb2d739e9d4f3d570dc09
treec1be8808b82dfd1c66d589ef444b50c9776c40db
parent6be9a197d96c3c346271b46ec6270bd719eb9932
Constify add_path and friends

This constifies add_path, mod_path, and directory_switch.

gdb/ChangeLog
2017-11-07  Tom Tromey  <tom@tromey.com>

* source.c (directory_switch, mod_path, add_path): Constify.
* defs.h (add_path, mod_path, directory_switch): Constify.
* mi/mi-cmd-env.c (env_mod_path): Constify.
gdb/ChangeLog
gdb/defs.h
gdb/mi/mi-cmd-env.c
gdb/source.c