Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Guidance re. MinGW and readline
@ 2005-07-18  0:17 Mark Mitchell
  2005-07-18  0:23 ` Daniel Jacobowitz
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Mark Mitchell @ 2005-07-18  0:17 UTC (permalink / raw)
  To: gdb-patches; +Cc: chet.ramey

Chet Ramey, the readline maintainer, has reviwed my patch for GDB here:

   http://sources.redhat.com/ml/gdb-patches/2005-06/msg00067.html

Chet has accepted the patch in principle, though he's decided to take a 
slightly different approach from the one that I did, modifying rltty.c 
to use conditional compilation to determine whether or not to use any of 
the various UNIX-ish terminal variants, rather than adding an entirely 
separate rlwin32tty.c file.  Chet's version (re-write?) of the patch 
will be in readline-5.1.

Chet has also decided that the (extremely minimal) Windows termcap 
functions that I provided (like "tputs" and "tgoto") should be included 
somewhere in the application, rather than in readline itself.

So, I think that there are two paths forward:

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

I'd prefer the second path, even though it's more work for me, in that 
it would hopefully result in more quickly reaching the state where all 
of the MinGW support is in the FSF GDB.  However, if the GDB maintainers 
don't want to go that route, I'll just wait.  I'd very much appreciate 
advice from the GDB maintainers about which path to take.

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-07-18 17:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-18  0:17 Guidance re. MinGW and readline Mark Mitchell
2005-07-18  0:23 ` Daniel Jacobowitz
2005-07-18  1:01   ` Christopher Faylor
2005-07-18  3:23 ` Eli Zaretskii
2005-07-18  6:22 ` Mark Kettenis
2005-07-18 14:13   ` Mark Mitchell
2005-07-18 14:35   ` Christopher Faylor
2005-07-18 14:34     ` Mark Mitchell
2005-07-18 16:55     ` Ian Lance Taylor
2005-07-18 17:10       ` Christopher Faylor
2005-07-18 17:26         ` Ian Lance Taylor
2005-07-18 17:33           ` Daniel Jacobowitz
2005-07-18 17:47             ` Christopher Faylor
2005-07-18 17:59       ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox