diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-05 21:55:57 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-05 21:56:01 +0200 |
commit | ca96f8db4e13e857be2f90e147c663e1277fb0e6 (patch) | |
tree | 9be1cb67a5a33ca24b0bd4a660690a874cb95acd /src/core/gdbstub/gdbstub.h | |
parent | Merge pull request #928 from MerryMage/dynarmic (diff) | |
download | yuzu-ca96f8db4e13e857be2f90e147c663e1277fb0e6.tar yuzu-ca96f8db4e13e857be2f90e147c663e1277fb0e6.tar.gz yuzu-ca96f8db4e13e857be2f90e147c663e1277fb0e6.tar.bz2 yuzu-ca96f8db4e13e857be2f90e147c663e1277fb0e6.tar.lz yuzu-ca96f8db4e13e857be2f90e147c663e1277fb0e6.tar.xz yuzu-ca96f8db4e13e857be2f90e147c663e1277fb0e6.tar.zst yuzu-ca96f8db4e13e857be2f90e147c663e1277fb0e6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/gdbstub/gdbstub.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/gdbstub/gdbstub.h b/src/core/gdbstub/gdbstub.h index a6b50c26c..5a36524b2 100644 --- a/src/core/gdbstub/gdbstub.h +++ b/src/core/gdbstub/gdbstub.h @@ -22,7 +22,7 @@ enum class BreakpointType { }; struct BreakpointAddress { - PAddr address; + VAddr address; BreakpointType type; }; @@ -53,7 +53,7 @@ bool IsServerEnabled(); bool IsConnected(); /// Register module. -void RegisterModule(std::string name, PAddr beg, PAddr end, bool add_elf_ext = true); +void RegisterModule(std::string name, VAddr beg, VAddr end, bool add_elf_ext = true); /** * Signal to the gdbstub server that it should halt CPU execution. @@ -74,7 +74,7 @@ void HandlePacket(); * @param addr Address to search from. * @param type Type of breakpoint. */ -BreakpointAddress GetNextBreakpointFromAddress(PAddr addr, GDBStub::BreakpointType type); +BreakpointAddress GetNextBreakpointFromAddress(VAddr addr, GDBStub::BreakpointType type); /** * Check if a breakpoint of the specified type exists at the given address. @@ -82,7 +82,7 @@ BreakpointAddress GetNextBreakpointFromAddress(PAddr addr, GDBStub::BreakpointTy * @param addr Address of breakpoint. * @param type Type of breakpoint. */ -bool CheckBreakpoint(PAddr addr, GDBStub::BreakpointType type); +bool CheckBreakpoint(VAddr addr, GDBStub::BreakpointType type); /// If set to true, the CPU will halt at the beginning of the next CPU loop. bool GetCpuHaltFlag(); |