Allow debugger dump command to dump with byte granularity from address spaces with positive shifts

This commit is contained in:
AJR 2020-06-17 09:11:21 -04:00
parent 3de888a0c7
commit c66eaf096e

View File

@ -2088,7 +2088,7 @@ void debugger_commands::execute_dump(int ref, const std::vector<std::string> &pa
return;
int shift = space->addr_shift();
u64 granularity = shift > 0 ? 2 : 1 << -shift;
u64 granularity = shift >= 0 ? 1 : 1 << -shift;
/* further validation */
if (width == 0)