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: [PATCH] native mingw32 gdb, eol format


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> Looks fixing the testsuite to allow '\r\r\n' is a promising approach,
Yao> however it is not a small piece of work.  The patch below is a
Yao> proof-of-concept implementation, and we need to apply the change (\r
Yao> -> ${cr}) to the testsuite.  Please let me know is it what you
Yao> want, and then I can evaluate how much efforts are needed here.

Ouch.  That seems quite painful to do.

I wouldn't mind it, but I wonder whether there is another way.
Can we somehow use stty to set the terminal to adapt to this?
Could we maybe run gdb with a wrapper program (perhaps even another
instance of expect) to do the translation?
I looked a little at using Tcl's fconfigure on the fd opened by expect,
but that didn't seem useful in the end.

Tom


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