summaryrefslogtreecommitdiffstats
path: root/src/core/gdbstub/gdbstub.h
diff options
context:
space:
mode:
authorHedges <hedges@resync.pl>2018-06-06 06:20:47 +0200
committerbunnei <bunneidev@gmail.com>2018-06-06 06:20:47 +0200
commit39fb3e362cf71d0542a5807c97039cd474ef3716 (patch)
treee54ad38fba3c7b2b32e5e408e9e7eb8cb6ffe6b0 /src/core/gdbstub/gdbstub.h
parentMerge pull request #516 from Subv/f2i_r (diff)
downloadyuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar
yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.gz
yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.bz2
yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.lz
yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.xz
yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.zst
yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.zip
Diffstat (limited to 'src/core/gdbstub/gdbstub.h')
-rw-r--r--src/core/gdbstub/gdbstub.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/gdbstub/gdbstub.h b/src/core/gdbstub/gdbstub.h
index 201fca095..f2418c9e4 100644
--- a/src/core/gdbstub/gdbstub.h
+++ b/src/core/gdbstub/gdbstub.h
@@ -7,6 +7,7 @@
#pragma once
#include "common/common_types.h"
+#include "core/hle/kernel/thread.h"
namespace GDBStub {
@@ -91,4 +92,12 @@ bool GetCpuStepFlag();
* @param is_step
*/
void SetCpuStepFlag(bool is_step);
+
+/**
+ * Send trap signal from thread back to the gdbstub server.
+ *
+ * @param thread Sending thread.
+ * @param trap Trap no.
+ */
+void SendTrap(Kernel::Thread* thread, int trap);
} // namespace GDBStub