Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH]: Fix ser-go32.c for UARTs with FIFOs.
@ 2001-02-03 23:51 Eli Zaretskii
       [not found] ` <3A7F6BCF.605B1D7F@cygnus.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Eli Zaretskii @ 2001-02-03 23:51 UTC (permalink / raw)
  To: gdb-patches; +Cc: Francisco Pastor

FYI: I committed today the following patch:

2001-02-04  Eli Zaretskii  <eliz@is.elta.co.il>

	* ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
	UART_FIFO_WORKS is defined.  Otherwise use outportb.
	From Francisco Pastor <fpastor.etra-id@etra.es>

--- 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 <fpastor.etra-id@etra.es> 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 <eliz@is.elta.co.il>
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: <Pine.SUN.3.91.1010204095122.20547R-100000@is>
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  <eliz@is.elta.co.il>

	* 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-06 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-03 23:51 [PATCH]: Fix ser-go32.c for UARTs with FIFOs Eli Zaretskii
     [not found] ` <3A7F6BCF.605B1D7F@cygnus.com>
     [not found]   ` <6137-Tue06Feb2001105337+0200-eliz@is.elta.co.il>
     [not found]     ` <004f01c09034$e7aa2300$0500a8c0@etra.es>
     [not found]       ` <3A804C5F.9F2B6D84@cygnus.com>
     [not found]         ` <5mitmnsik8.fsf@jtc.redback.com>
2001-02-06 12:39           ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox