diff options
author | Tom Tromey <tromey@adacore.com> | 2019-08-12 12:06:20 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-08-13 12:28:38 -0600 |
commit | 29c9291108487e1dd9bc5677dafee58ea2068f77 (patch) | |
tree | eda2312d2fb19b471f38be3e671613fdfeaa322d /gdb/tracepoint.c | |
parent | abc6c00fb6cbb199348ec5f0bf4d969ed48bdfad (diff) | |
download | binutils-gdb-29c9291108487e1dd9bc5677dafee58ea2068f77.tar.gz |
Don't include readline headers from tracepoint.c
I was curious why updating readline caused so much to be to rebuilt,
so I look at all the uses of the readline headers. Most are included
for valid reasons (either readline directory or for tilde_expand); but
the includes in tracepoint.c didn't seem to be used.
This patch removes them. Tested by rebuilding.
gdb/ChangeLog
2019-08-13 Tom Tromey <tromey@adacore.com>
* tracepoint.c: Don't include readline.h or history.h.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index ed1d75e170e..2d5b9c705ef 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -58,13 +58,6 @@ #include "location.h" #include <algorithm> -/* readline include files */ -#include "readline/readline.h" -#include "readline/history.h" - -/* readline defines this. */ -#undef savestring - #include <unistd.h> /* Maximum length of an agent aexpression. |