]> git.tdb.fi Git - libs/core.git/blobdiff - source/debug/debugapi.h
Add utilities to interface with an attached debugger
[libs/core.git] / source / debug / debugapi.h
diff --git a/source/debug/debugapi.h b/source/debug/debugapi.h
new file mode 100644 (file)
index 0000000..80dcc4c
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef MSP_DEBUG_DEBUGAPI_H_
+#define MSP_DEBUG_DEBUGAPI_H_
+
+namespace Msp {
+namespace Debug {
+
+enum DebuggerType
+{
+       NONE,
+       GDB,
+       UNKNOWN,
+};
+
+DebuggerType check_debugger(bool = false);
+void debug_break();
+
+} // namespace Debug
+} // namespace Msp
+
+#endif