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 03:42:06PM +0100, Andrew STUBBS wrote:
> Daniel Jacobowitz wrote:
> >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.
> 
> Yes, in the absence of a better solution, we have gdb_has_a_terminal 
> always return 1 for MinGW. It means that it doesn't work right for 
> pipes, but without this it does not work right in normal interactive 
> mode, which is worse.
> 
> As far as I am aware this is a normal MinGW problem, not limited to use 
> with Expect.

It works fine in a Windows command shell without this, which is how we
currently use it.

-- 
Daniel Jacobowitz
CodeSourcery


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