This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Guidance re. MinGW and readline
On Mon, Jul 18, 2005 at 09:55:31AM -0700, Ian Lance Taylor wrote:
>Christopher Faylor <me@cgf.cx> writes:
>
>> > (1) Wait for readline-5.1 to be released, incorporate it into src/, and
>> > then to add the minimal termcap stuff to a file in gdb/ that is only
>> > used on MinGW.
>> >
>> > (2) I backport Chet's changes to rltty.c to the src/readline/
>> > sourcebase, and then proceed as above. Because we know that these
>> > changes will be in readline-5.1, we needn't worry overmuch about
>> > divergence from upstread sources.
>> >
>> >You'll still need the minimal termcap stuff in gdb/ in this case isn't
>> >it?
>>
>> Actually, I wonder if libiberty would be a better place for the minimal
>> termcap stuff.
>
>I don't see why, unless we seriously think that some program other
>than gdb is going to want to use it. If I understand the earlier
>messages, the only point to the minimal termcap stuff is to use it
>with readline on MinGW. That seems fairly special purpose to me, and
>not the sort of thing we usually put it into libiberty.
It just seemed to me that there was at least a chance that some other
GNU project might eventually want to use readline with mingw.
cgf