From 64507a4e7ede4e3e6df58ad9f56980da847f3c48 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Sun, 18 Apr 2021 02:12:29 +0200 Subject: [PATCH] added mmu dump to dump arbitrary section --- riscemu/MMU.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/riscemu/MMU.py b/riscemu/MMU.py index e2e0ccb..1a94fca 100644 --- a/riscemu/MMU.py +++ b/riscemu/MMU.py @@ -62,4 +62,6 @@ class MMU: sec = self.get_sec_containing(addr) return sec.write(addr - sec.base, size, data) - + # debugging interactions: + def dump(self, addr, *args, **kwargs): + self.get_sec_containing(addr).dump(addr, *args, **kwargs) \ No newline at end of file