summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2019-03-20 22:05:27 -0700
committerMichael Pavone <pavone@retrodev.com>2019-03-20 22:05:27 -0700
commita460f11a88ad30ff938327428e53319518cfdce4 (patch)
treea365deab30cc5903587af0f661470b605fa0fb9a /util.h
parentf328cd509d79f1b468b32bab0fbfd214705534d7 (diff)
Avoid printing a bunch of junk to stdout when GDB remote debugging is enabled as this can confuse GDB
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util.h b/util.h
index 1b4c600..a32de10 100644
--- a/util.h
+++ b/util.h
@@ -84,5 +84,9 @@ void fatal_error(char *format, ...);
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_