GP-0: Fix DebuggerRegistersProviderGuestTest

This commit is contained in:
Dan 2023-07-24 10:36:37 -04:00
parent bece81176e
commit c98e2b9126
3 changed files with 12 additions and 13 deletions

View file

@ -384,14 +384,14 @@ public class DBTraceGuestPlatform extends DBAnnotatedObject
while (it.hasNext()) {
Pair<DBTraceGuestPlatformMappedRange, AddressRange> next = it.next();
DBTraceGuestPlatformMappedRange entry = next.getLeft();
AddressRange hostRange = next.getRight();
result.add(entry.mapGuestToHost(hostRange));
AddressRange guestRange = next.getRight();
result.add(entry.mapGuestToHost(guestRange));
}
return result;
}
/**
* Map the an address only if the entire range is contained in a single mapped range
* Map an address only if the entire range is contained in a single mapped range
*
* @param guestMin the min address of the range to map
* @param guestMax the max address of the range to check