On 24/8/23 03:02, Richard Henderson wrote:
From: Ilya Leoshkevich <[email protected]>
Core dumps produced by gdb's gcore when connected to qemu's gdbstub
lack stack. The reason is that gdb includes only anonymous memory in
core dumps, which is distinguished by a non-0 Anonymous: value.
Consider the mappings with PAGE_ANON fully anonymous, and the mappings
without it fully non-anonymous.
Signed-off-by: Ilya Leoshkevich <[email protected]>
[rth: Update for open_self_maps_* rewrite]
Signed-off-by: Richard Henderson <[email protected]>
---
linux-user/syscall.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>