From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: gdb-patches@sourceware.cygnus.com Cc: Francisco Pastor Subject: [PATCH]: Fix ser-go32.c for UARTs with FIFOs. Date: Sat, 03 Feb 2001 23:51:00 -0000 Message-id: X-SW-Source: 2001-02/msg00038.html FYI: I committed today the following patch: 2001-02-04 Eli Zaretskii * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if UART_FIFO_WORKS is defined. Otherwise use outportb. From Francisco Pastor --- gdb/ser-go32.c~0 Sun Jul 30 04:48:26 2000 +++ gdb/ser-go32.c Sat Feb 3 19:49:06 2001 @@ -796,9 +796,16 @@ dos_write (serial_t scb, const char *str /* send the data, fifosize bytes at a time */ cnt = fifosize > len ? len : fifosize; port->txbusy = 1; + /* Francisco Pastor says OUTSB messes + up the communications with UARTs with FIFOs. */ +#ifdef UART_FIFO_WORKS outportsb (port->base + com_data, str, cnt); str += cnt; len -= cnt; +#else + for ( ; cnt > 0; cnt--, len--) + outportb (port->base + com_data, *str++); +#endif #ifdef DOS_STATS cnts[CNT_TX] += cnt; #endif >From eliz@is.elta.co.il Sat Feb 03 23:54:00 2001 From: Eli Zaretskii To: gdb-patches@sourceware.cygnus.com Subject: [PATCH]: Avoid invoking DOS/Windows FIND.EXE Date: Sat, 03 Feb 2001 23:54:00 -0000 Message-id: X-SW-Source: 2001-02/msg00039.html Content-length: 841 FYI: I committed today the following patch to djconfig.sh: 2001-02-04 Eli Zaretskii * config/djgpp/djconfig.sh: Use explicit absolute file name when invoking `find'. --- gdb/config/djgpp/djconfig.s~0 Mon May 8 18:06:26 2000 +++ gdb/config/djgpp/djconfig.sh Sat Feb 3 21:02:16 2001 @@ -59,8 +59,11 @@ SKIPDIR=`pwd | sed -e "s|${srcdir}|.|"` SKIPFILES="${SKIPDIR}/*" fi + +# We use explicit /dev/env/DJDIR/bin/find to avoid catching +# an incompatible DOS/Windows version that might be on their PATH. for fix_dir in \ - `cd $srcdir && find . -type d ! -ipath "${SKIPDIR}" ! -ipath "${SKIPFILES}"` + `cd $srcdir && /dev/env/DJDIR/bin/find . -type d ! -ipath "${SKIPDIR}" ! -ipath "${SKIPFILES}"` do if test ! -f ${fix_dir}/configure.orig ; then if test -f ${srcdir}/${fix_dir}/configure ; then