This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [PATCH]: Fix ser-go32.c for UARTs with FIFOs.


>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
Andrew> Francisco Pastor wrote:
>> The problem with OUTS only happen with NT DOS console, not with true DOS
>> 6.22. So, I think that a general solution is leave the patch with a compile
>> time option or, perhaps, test the DOS version for avoid the use of OUTS. I
>> donīt think that introduce a new interactive command be a good solution.

Andrew> I've been assuming that a single DJGPP-GDB binary can run on
Andrew> all dos platforms (6.22, NT, ...).  If that is the case then
Andrew> the serial configury should be run-time configurable.  If that
Andrew> isn't the case then a compile time flag is ok.
Andrew>
Andrew> I suspect this will go onto Eli's very long to do one day list :-)

Eli mentioned that he didn't think the speed gain from using OUTS 
vs. OUT was significant.  If that is really the case, why not use 
the conservative approach and always use OUT?  If there isn't a 
win, I can't see the value of having knobs to tweak the implement-
ation, either at compile time or run time.

        --jtc

-- 
J.T. Conklin
RedBack Networks

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