From 658d7393446f6bd77b2d70a6a7547036840f5a86 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Tue, 12 Jul 2005 05:31:08 +0000 Subject: [PATCH] Add note about buffering with Windows. --- lisp/progmodes/gdb-ui.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 584b0ae8144..f4b6a705ea9 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: -- 2.39.5