summaryrefslogtreecommitdiffstats
path: root/src/core/gdbstub/gdbstub.h
diff options
context:
space:
mode:
authorHedges <hedges@resync.pl>2018-07-13 05:22:59 +0200
committerbunnei <bunneidev@gmail.com>2018-07-13 05:22:59 +0200
commite066bc75b9443ffe39adc44a113eca8e899c6e80 (patch)
tree78bd4a46cfa69c678ae7518260b0a91cc4227adf /src/core/gdbstub/gdbstub.h
parentMerge pull request #656 from ogniK5377/audren-mem-init (diff)
downloadyuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar
yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.gz
yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.bz2
yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.lz
yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.xz
yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.tar.zst
yuzu-e066bc75b9443ffe39adc44a113eca8e899c6e80.zip
Diffstat (limited to 'src/core/gdbstub/gdbstub.h')
-rw-r--r--src/core/gdbstub/gdbstub.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/gdbstub/gdbstub.h b/src/core/gdbstub/gdbstub.h
index f2418c9e4..a6b50c26c 100644
--- a/src/core/gdbstub/gdbstub.h
+++ b/src/core/gdbstub/gdbstub.h
@@ -6,6 +6,7 @@
#pragma once
+#include <string>
#include "common/common_types.h"
#include "core/hle/kernel/thread.h"
@@ -51,6 +52,9 @@ bool IsServerEnabled();
/// Returns true if there is an active socket connection.
bool IsConnected();
+/// Register module.
+void RegisterModule(std::string name, PAddr beg, PAddr end, bool add_elf_ext = true);
+
/**
* Signal to the gdbstub server that it should halt CPU execution.
*
@@ -80,10 +84,10 @@ BreakpointAddress GetNextBreakpointFromAddress(PAddr addr, GDBStub::BreakpointTy
*/
bool CheckBreakpoint(PAddr addr, GDBStub::BreakpointType type);
-// If set to true, the CPU will halt at the beginning of the next CPU loop.
+/// If set to true, the CPU will halt at the beginning of the next CPU loop.
bool GetCpuHaltFlag();
-// If set to true and the CPU is halted, the CPU will step one instruction.
+/// If set to true and the CPU is halted, the CPU will step one instruction.
bool GetCpuStepFlag();
/**