]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/nto-tdep.c
Move some declarations to source.h
authorTom Tromey <tom@tromey.com>
Fri, 10 Nov 2017 20:21:10 +0000 (13:21 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 14 Feb 2018 15:09:52 +0000 (08:09 -0700)
commitb46a8d7c1d50c06e641af99b58301db0499111b9
tree2f7d8519a9693067f9fd42ce6c0a978783def518
parent797bc1cb25b9dbdbc663cf711aecb0acc2450276
Move some declarations to source.h

I noticed a few declarations in defs.h that really could be put into
source.h.  I think it's generally preferable to something out of
defs.h unless it is needed by most of the files in gdb.

gdb/ChangeLog
2018-02-14  Tom Tromey  <tom@tromey.com>

* solib.c: Include source.h.
* nto-tdep.c: Include source.h.
* mi/mi-cmd-env.c: Include source.h.
* infcmd.c: Include source.h.
* exec.c: Include source.h.
* defs.h (enum openp_flag, openp, source_full_path_of, mod_path)
(add_path, directory_switch, source_path, init_source_path): Move
declarations...
* source.h (enum openp_flag, openp, source_full_path_of, mod_path)
(add_path, directory_switch, source_path, init_source_path):
...here.
gdb/ChangeLog
gdb/defs.h
gdb/exec.c
gdb/infcmd.c
gdb/mi/mi-cmd-env.c
gdb/nto-tdep.c
gdb/solib.c
gdb/source.h