]> git.eshelyaron.com Git - emacs.git/commitdiff
Add note about buffering with Windows.
authorNick Roberts <nickrob@snap.net.nz>
Tue, 12 Jul 2005 05:31:08 +0000 (05:31 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 12 Jul 2005 05:31:08 +0000 (05:31 +0000)
lisp/progmodes/gdb-ui.el

index 584b0ae8144424aeeb2829bf22b3b834abf84971..f4b6a705ea90def943443f8eb3d11989ea58f201 100644 (file)
 ;; 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: