changeset 64241:a19a23509f95

Add note about buffering with Windows.
author Nick Roberts <nickrob@snap.net.nz>
date Tue, 12 Jul 2005 05:31:08 +0000
parents 91fb641ae4e2
children 0ee94ce27f45
files lisp/progmodes/gdb-ui.el
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el	Tue Jul 12 05:29:58 2005 +0000
+++ b/lisp/progmodes/gdb-ui.el	Tue Jul 12 05:31:08 2005 +0000
@@ -50,6 +50,19 @@
 ;; still under development and is part of a process to migrate Emacs from
 ;; annotations to GDB/MI.
 ;;
+;; Windows Platforms:
+;;
+;; If you are using Emacs and GDB on Windows you will need to flush the buffer
+;; explicitly in your program if you want timely display of I/O in Emacs.
+;; Alternatively you can make the output stream unbuffered, for example, by
+;; using a macro:
+;; 
+;;           #ifdef UNBUFFERED
+;;	     setvbuf(stdout,(char *)NULL, _IONBF,0);
+;;	     #endif
+;;
+;; and compiling with -DUNBUFFERED while debugging.
+;;
 ;; Known Bugs:
 ;;
 ;; TODO: