summaryrefslogtreecommitdiffstats
path: root/src/core/debugger
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-20 08:53:31 +0200
committerLiam <byteslice@airmail.cc>2023-10-20 08:53:31 +0200
commit9526ce95dd51aad0c54246f7f970f0acaf28e561 (patch)
tree8961316f647b1cfa46f80507e9a494ba915d0bcc /src/core/debugger
parentkernel: fix format string error (diff)
downloadyuzu-9526ce95dd51aad0c54246f7f970f0acaf28e561.tar
yuzu-9526ce95dd51aad0c54246f7f970f0acaf28e561.tar.gz
yuzu-9526ce95dd51aad0c54246f7f970f0acaf28e561.tar.bz2
yuzu-9526ce95dd51aad0c54246f7f970f0acaf28e561.tar.lz
yuzu-9526ce95dd51aad0c54246f7f970f0acaf28e561.tar.xz
yuzu-9526ce95dd51aad0c54246f7f970f0acaf28e561.tar.zst
yuzu-9526ce95dd51aad0c54246f7f970f0acaf28e561.zip
Diffstat (limited to '')
-rw-r--r--src/core/debugger/gdbstub.cpp10
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;