comparison lisp/progmodes/gdb-ui.el @ 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 18a818a2ee7c
children ef82d5d73c0d fbb2bea03df9
comparison
equal deleted inserted replaced
64240:91fb641ae4e2 64241:a19a23509f95
47 ;; it. Some GDB/MI commands are used in this file through the CLI command 47 ;; it. Some GDB/MI commands are used in this file through the CLI command
48 ;; 'interpreter mi <mi-command>'. A file called gdb-mi.el is included with 48 ;; 'interpreter mi <mi-command>'. A file called gdb-mi.el is included with
49 ;; GDB (6.2 onwards) that uses GDB/MI as the primary interface to GDB. It is 49 ;; GDB (6.2 onwards) that uses GDB/MI as the primary interface to GDB. It is
50 ;; still under development and is part of a process to migrate Emacs from 50 ;; still under development and is part of a process to migrate Emacs from
51 ;; annotations to GDB/MI. 51 ;; annotations to GDB/MI.
52 ;;
53 ;; Windows Platforms:
54 ;;
55 ;; If you are using Emacs and GDB on Windows you will need to flush the buffer
56 ;; explicitly in your program if you want timely display of I/O in Emacs.
57 ;; Alternatively you can make the output stream unbuffered, for example, by
58 ;; using a macro:
59 ;;
60 ;; #ifdef UNBUFFERED
61 ;; setvbuf(stdout,(char *)NULL, _IONBF,0);
62 ;; #endif
63 ;;
64 ;; and compiling with -DUNBUFFERED while debugging.
52 ;; 65 ;;
53 ;; Known Bugs: 66 ;; Known Bugs:
54 ;; 67 ;;
55 ;; TODO: 68 ;; TODO:
56 ;; 1) Use MI command -data-read-memory for memory window. 69 ;; 1) Use MI command -data-read-memory for memory window.