On Sat, Jan 04, 2003 at 06:32:43AM +1100, Bruce Evans wrote:
> Another possible problem is using the same serial line for gdb as for
> the console and mixing speeds.  If the userland speed differs from the
> low level speed, then the i/o routines switch back and forth between
> the speeds for every character and this tends to lose some.  The
> userland speed is locked to the low level speed initially but userland
> unlock it.  Losing a character or two is almost unnoticable in ddb but
> is fatal in gdb.  I normally set all speeds to 115200 so I only see this
> problem when I look for it.

    Unless I'm misunderstanding, the serial port isn't doing any such double
    duty.  I've explicity toggled between sio flags 0x10 and 0x80 in
    device.hints depending on what I'm trying to figure out.  (In reality,
    it's more often trying to get useful information for others that can
    figure stuff out. :).)

    For what it's worth, I've taken Nate's suggestion and backed down to
    9600bps, and this problem hasn't occurred yet, so I'm assuming this is
    the "fix".  (The 4.7 machine has an ASUS P2B-D board, and the -CURRENT
    box is a recent Dell Dimension, so I don't *think* I'm using garbage
    serial hardware.)  Though slow, I guess I can't complain if it works.
    :).
   
-- 
ryan beasley                            <[EMAIL PROTECTED]>
GPG ID: 0x16EFBD48                      http://www.goddamnbastard.org           

Attachment: msg49699/pgp00000.pgp
Description: PGP signature

Reply via email to