diff options
author | Tom Tromey <tom@tromey.com> | 2019-10-27 15:50:54 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-11-06 07:29:43 -0700 |
commit | e0eac551da0afeec8ec17f457e4e1da1756e0aab (patch) | |
tree | b9c7c2fdfaba4c497ab45124f37d8169c5111e82 /gdb/cli | |
parent | 75802ccb60bfece30005d85de983181afe4e5306 (diff) | |
download | gdb-e0eac551da0afeec8ec17f457e4e1da1756e0aab.zip gdb-e0eac551da0afeec8ec17f457e4e1da1756e0aab.tar.gz gdb-e0eac551da0afeec8ec17f457e4e1da1756e0aab.tar.bz2 |
Remove some includes of readline.h
I went through most of the spots that include readline.h and, when
appropriate, either removed the include or changed it to include
tilde.h.
Note that remote-sim.c and bsd-kvm.c could probably include tilde.h
instead, but I did not change these. I think I can't build the
latter, and I didn't want to set up a sim build for the former.
Tested by rebuilding.
gdb/ChangeLog
2019-11-06 Tom Tromey <tom@tromey.com>
* tui/tui-interp.c: Don't include readline.h.
* tui/tui-hooks.c: Don't include readline.h.
* symmisc.c: Include tilde.h, not readline.h.
* symfile.c: Include tilde.h, not readline.h.
* source.c: Include tilde.h, not readline.h.
* solib.c: Include tilde.h, not readline.h.
* psymtab.c: Include tilde.h, not readline.h.
* exec.c: Include tilde.h, not readline.h.
* corelow.c: Include tilde.h, not readline.h.
* cli/cli-dump.c: Include tilde.h, not readline.h.
* cli/cli-cmds.c: Don't include readline.h.
Change-Id: I60487a190c43128b800ef77517d1ab42957571d7
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 1 | ||||
-rw-r--r-- | gdb/cli/cli-dump.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 4e58ddc..409240c 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -19,7 +19,6 @@ #include "defs.h" #include "arch-utils.h" -#include "readline/readline.h" #include "readline/tilde.h" #include "completer.h" #include "target.h" /* For baud_rate, remote_debug and remote_timeout. */ diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c index 74e0057..7c4f63b 100644 --- a/gdb/cli/cli-dump.c +++ b/gdb/cli/cli-dump.c @@ -26,7 +26,7 @@ #include "completer.h" #include <ctype.h> #include "target.h" -#include "readline/readline.h" +#include "readline/tilde.h" #include "gdbcore.h" #include "cli/cli-utils.h" #include "gdb_bfd.h" |