diff options
author | Hedges <hedges@resync.pl> | 2018-06-06 05:20:47 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-06-06 00:20:47 -0400 |
commit | 39fb3e362cf71d0542a5807c97039cd474ef3716 (patch) | |
tree | e54ad38fba3c7b2b32e5e408e9e7eb8cb6ffe6b0 /src/core/gdbstub/gdbstub.h | |
parent | 5fb99e6a166786eab5e1f8c656fe8431b3e11255 (diff) |
GDB Stub Improvements (#508)
* GDB Stub should work now.
* Applied clang-format.
* Replaced htonll with swap64.
* Tidy up.
Diffstat (limited to 'src/core/gdbstub/gdbstub.h')
-rw-r--r-- | src/core/gdbstub/gdbstub.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/gdbstub/gdbstub.h b/src/core/gdbstub/gdbstub.h index 201fca0957..f2418c9e44 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 |