gbd: fix address lookup limit on lower fw
This commit is contained in:
parent
cd68b66c03
commit
5924f60d06
@ -262,7 +262,10 @@ GDB_DECLARE_REMOTE_COMMAND_HANDLER(GetMemRegions)
|
|||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (address < 0x40000000 ///< Limit to check for regions
|
s64 TTBCR;
|
||||||
|
svcGetSystemInfo(&TTBCR, 0x10002, 0);
|
||||||
|
|
||||||
|
while (address < (1u << (32 - (u32)TTBCR)) ///< Limit to check for regions
|
||||||
&& posInBuffer < maxPosInBuffer
|
&& posInBuffer < maxPosInBuffer
|
||||||
&& R_SUCCEEDED(svcQueryProcessMemory(&memi, &pagei, handle, address)))
|
&& R_SUCCEEDED(svcQueryProcessMemory(&memi, &pagei, handle, address)))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user