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: '\r' only end-of-line


On Wed, Oct 11, 2006 at 02:57:01PM +0100, Andrew STUBBS wrote:
> Daniel Jacobowitz wrote:
> >At CodeSourcery, as we've said before, we ship a native Windows GDB
> >and GCC.  But for a lot of things we have no way to test the native
> >Windows GDB - can't use Cygwin's expect to drive it.
> 
> Huh? I can and do.
> 
> Admittedly I haven't got the Dejagnu testsuite running, but that's just 
> because Cygwin's Dejagnu is too old and I haven't had time to do 
> anything about it.

I am pretty sure you'll get nasty lossage from, e.g., GDB thinking it's
not connected to a terminal.  Error messages will show up after
prompts, and questions will be suppressed.

Actually, if those are the only two, we could probably make the mingw32
GDB cope.  Joel posted a patch once to set the buffering.  And I could
probably put together a GDB-specific isatty that could tell if we were
connected to a Cygwin terminal - I know how to do that.

Interesting idea... doesn't really change my question in the previous
message, but a very interesting idea.

-- 
Daniel Jacobowitz
CodeSourcery


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