summaryrefslogtreecommitdiffstats
path: root/src/core/gdbstub/gdbstub.h
diff options
context:
space:
mode:
authorGauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com>2020-02-23 21:33:49 +0100
committerFearlessTobi <thm.frey@gmail.com>2020-03-17 11:18:13 +0100
commit38036eb1c8633d151c721992e085e1aca5658f9d (patch)
treed9866995796f24394134f4568f567343c89af288 /src/core/gdbstub/gdbstub.h
parentMerge pull request #3521 from ReinUsesLisp/nsight-debug (diff)
downloadyuzu-38036eb1c8633d151c721992e085e1aca5658f9d.tar
yuzu-38036eb1c8633d151c721992e085e1aca5658f9d.tar.gz
yuzu-38036eb1c8633d151c721992e085e1aca5658f9d.tar.bz2
yuzu-38036eb1c8633d151c721992e085e1aca5658f9d.tar.lz
yuzu-38036eb1c8633d151c721992e085e1aca5658f9d.tar.xz
yuzu-38036eb1c8633d151c721992e085e1aca5658f9d.tar.zst
yuzu-38036eb1c8633d151c721992e085e1aca5658f9d.zip
Diffstat (limited to '')
-rw-r--r--src/core/gdbstub/gdbstub.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/gdbstub/gdbstub.h b/src/core/gdbstub/gdbstub.h
index 5a36524b2..8fe3c320b 100644
--- a/src/core/gdbstub/gdbstub.h
+++ b/src/core/gdbstub/gdbstub.h
@@ -43,6 +43,13 @@ void ToggleServer(bool status);
/// Start the gdbstub server.
void Init();
+/**
+ * Defer initialization of the gdbstub to the first packet processing functions.
+ * This avoids a case where the gdbstub thread is frozen after initialization
+ * and fails to respond in time to packets.
+ */
+void DeferStart();
+
/// Stop gdbstub server.
void Shutdown();