aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorNick Roberts <[email protected]>2005-07-12 05:31:08 +0000
committerNick Roberts <[email protected]>2005-07-12 05:31:08 +0000
commit658d7393446f6bd77b2d70a6a7547036840f5a86 (patch)
tree118a7e5d896bb7cfca4eaf4cdf115ff88a2ea5af /lisp/progmodes
parent7ea9de71345a193b2cb606161bd471d5d8fcc6be (diff)
Add note about buffering with Windows.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/gdb-ui.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 584b0ae814..f4b6a705ea 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -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: