This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't include readline headers from tracepoint.c


On Mon, 12 Aug 2019 12:07:21 -0600
Tom Tromey <tromey@adacore.com> wrote:

> 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-12  Tom Tromey  <tromey@adacore.com>
> 
> 	* tracepoint.c: Don't include readline.h or history.h.

LGTM.

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]