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.
This commit is contained in:
Tom Tromey 2019-08-12 12:06:20 -06:00
parent abc6c00fb6
commit 29c9291108
2 changed files with 4 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2019-08-13 Tom Tromey <tromey@adacore.com>
* tracepoint.c: Don't include readline.h or history.h.
2019-08-12 Tom Tromey <tom@tromey.com>
* configure: Rebuild.

View File

@ -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.