Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
To: gdb-patches@sourceware.cygnus.com
Cc: Francisco Pastor <fpastor.etra-id@etra.es>
Subject: [PATCH]: Fix ser-go32.c for UARTs with FIFOs.
Date: Sat, 03 Feb 2001 23:51:00 -0000	[thread overview]
Message-ID: <Pine.SUN.3.91.1010204094707.20547Q-100000@is> (raw)

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


             reply	other threads:[~2001-02-03 23:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-03 23:51 Eli Zaretskii [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SUN.3.91.1010204094707.20547Q-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=fpastor.etra-id@etra.es \
    --cc=gdb-patches@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox