emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/print.c


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/print.c
Date: Sat, 25 Mar 2006 17:58:37 +0000

Index: emacs/src/print.c
diff -u emacs/src/print.c:1.220 emacs/src/print.c:1.221
--- emacs/src/print.c:1.220     Mon Feb  6 15:23:21 2006
+++ emacs/src/print.c   Sat Mar 25 17:58:37 2006
@@ -182,6 +182,9 @@
 
 void print_interval ();
 
+/* GDB resets this to zero on W32 to disable OutputDebugString calls.  */
+int print_output_debug_flag = 1;
+
 
 /* Low level output routines for characters and strings */
 
@@ -909,10 +912,11 @@
 
 #ifdef WINDOWSNT
   /* Send the output to a debugger (nothing happens if there isn't one).  */
-  {
-    char buf[2] = {(char) XINT (character), '\0'};
-    OutputDebugString (buf);
-  }
+  if (print_output_debug_flag)
+    {
+      char buf[2] = {(char) XINT (character), '\0'};
+      OutputDebugString (buf);
+    }
 #endif
 
   return character;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]