diff util.h @ 1792:52a47611a273

Avoid printing a bunch of junk to stdout when GDB remote debugging is enabled as this can confuse GDB
author Michael Pavone <pavone@retrodev.com>
date Wed, 20 Mar 2019 22:05:27 -0700
parents eda8df5bc74c
children a4cae960fd08
line wrap: on
line diff
--- a/util.h	Wed Mar 20 21:36:32 2019 -0700
+++ b/util.h	Wed Mar 20 22:05:27 2019 -0700
@@ -84,5 +84,9 @@
 void info_message(char *format, ...);
 //Prints an information message to stderr and to a message box if not in headless mode and not attached to a console
 void warning(char *format, ...);
+//Prints a debug message to stdout
+void debug_message(char *format, ...);
+//Disables output of info and debug messages to stdout
+void disable_stdout_messages(void);
 
 #endif //UTIL_H_