From a460f11a88ad30ff938327428e53319518cfdce4 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 20 Mar 2019 22:05:27 -0700 Subject: Avoid printing a bunch of junk to stdout when GDB remote debugging is enabled as this can confuse GDB --- util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util.h') 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_ -- cgit v1.2.3