Rename "lines" parameter in source-cache.h
authorTom Tromey <tom@tromey.com>
Mon, 21 Jan 2019 21:17:32 +0000 (14:17 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 23 Jan 2019 03:35:59 +0000 (20:35 -0700)
commit38561778f3c6a6af98355925bcfd5d3c1e39a484
treea7c4717df2d8cc49aa2b87e7c17e6382a2ed7a37
parent37b3ab5b547de7e727c5426c6615ece0284168c7
Rename "lines" parameter in source-cache.h

A compile in the TUI somehow had "lines" defined as a macro.  This
caused a compile error when including source-cache.h after whatever
header did that.  I tracked this down to a #define in
/usr/include/term.h, so I just changed source-cache.h to avoid the
clash.

gdb/ChangeLog
2019-01-22  Tom Tromey  <tom@tromey.com>

* source-cache.h (class source_cache) <get_source_lines,
get_plain_source_lines, extract_lines>: Rename "lines" parameter.
gdb/ChangeLog
gdb/source-cache.h