On 10/25/22 11:57, Helge Deller wrote:
On 10/25/22 00:35, Richard Henderson wrote:
On 10/25/22 06:18, Helge Deller wrote:
When the emulation stops with a hard exception it's very useful for
debugging purposes to dump the current guest memory layout (for an
example see /proc/self/maps) beside the CPU registers.
The open_self_maps() function provides such a memory dump, but since
it's located in the syscall.c file, various changes (add #includes, make
this function externally visible, ...) are needed to be able to call it
from the existing EXCP_DUMP() macro.
/proc/self/maps has all of the qemu mappings in it as well.
I'm not quite sure on how to understand your comments above.
Just comments or NAK to the patch?
A question.
Did you really wanted the host mappings included?
If so, fine.
If not, pointing out there's a better function to use.
r~