summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2021-02-20 14:52:32 -0800
committerMichael Pavone <pavone@retrodev.com>2021-02-20 14:52:32 -0800
commitc9d42388d53aee083e6cb477b1017c49a9ea8bd9 (patch)
tree4718415a0759f76f42abe4177a4bc67e7f5c5c0a /util.c
parent472da34d7ac2915a4f21ea6b5c02475abc3619e3 (diff)
Make KDEBUG functionality play nice with gdb remote debugging
Diffstat (limited to 'util.c')
-rw-r--r--util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util.c b/util.c
index 1c55e09..1617551 100644
--- a/util.c
+++ b/util.c
@@ -534,6 +534,11 @@ void disable_stdout_messages(void)
output_enabled = 0;
}
+uint8_t is_stdout_enabled(void)
+{
+ return output_enabled;
+}
+
#ifdef _WIN32
#define WINVER 0x501
#include <winsock2.h>