diff options
author | Franco M <francomaro@gmail.com> | 2023-10-21 02:25:27 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-21 02:25:27 -0300 |
commit | b76a1d987ff83b831a19a0c19f9fcd96c504c077 (patch) | |
tree | 4b08482cc3d34e341d7d8620182854c248f899b5 /src/core/debugger | |
parent | ae2130470effa72c3ea1ffc045e9b6b2a77b23d3 (diff) | |
parent | 2e760a98333520f3de1fa7c7a1f9298fd7241ceb (diff) |
Merge branch 'yuzu-emu:master' into new-shortcut
Diffstat (limited to 'src/core/debugger')
-rw-r--r-- | src/core/debugger/gdbstub.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/debugger/gdbstub.cpp b/src/core/debugger/gdbstub.cpp index 82964f0a1..2076aa8a2 100644 --- a/src/core/debugger/gdbstub.cpp +++ b/src/core/debugger/gdbstub.cpp @@ -822,11 +822,13 @@ void GDBStub::HandleRcmd(const std::vector<u8>& command) { const char i = True(mem_info.attribute & MemoryAttribute::IpcLocked) ? 'I' : '-'; const char d = True(mem_info.attribute & MemoryAttribute::DeviceShared) ? 'D' : '-'; const char u = True(mem_info.attribute & MemoryAttribute::Uncached) ? 'U' : '-'; + const char p = + True(mem_info.attribute & MemoryAttribute::PermissionLocked) ? 'P' : '-'; - reply += - fmt::format(" {:#012x} - {:#012x} {} {} {}{}{}{} [{}, {}]\n", - mem_info.base_address, mem_info.base_address + mem_info.size - 1, - perm, state, l, i, d, u, mem_info.ipc_count, mem_info.device_count); + reply += fmt::format(" {:#012x} - {:#012x} {} {} {}{}{}{}{} [{}, {}]\n", + mem_info.base_address, + mem_info.base_address + mem_info.size - 1, perm, state, l, i, + d, u, p, mem_info.ipc_count, mem_info.device_count); } const uintptr_t next_address = mem_info.base_address + mem_info.size; |