diff options
-rw-r--r-- | common/memory_display.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/memory_display.c b/common/memory_display.c index ea91985e5d..30821cced4 100644 --- a/common/memory_display.c +++ b/common/memory_display.c @@ -58,6 +58,8 @@ int memory_display(const void *addr, loff_t offs, unsigned nbytes, int size, int res = *((uint16_t *)addr); if (swab) res = __swab16(res); + if (i > 1 && i % 8 == 0) + count -= printf(" "); if (data_abort_unmask()) { res = 0xffff; count -= printf(" xxxx"); @@ -69,6 +71,8 @@ int memory_display(const void *addr, loff_t offs, unsigned nbytes, int size, int uint8_t res; data_abort_mask(); res = *((uint8_t *)addr); + if (i > 1 && i % 8 == 0) + count -= printf(" "); if (data_abort_unmask()) { res = 0xff; count -= printf(" xx"); |