Re: [PATCH] scripts/gdb/symbols: Determine KASLR offset on s390

From: Alexander Gordeev
Date: Tue Mar 04 2025 - 13:19:27 EST


On Mon, Mar 03, 2025 at 12:03:58PM +0100, Ilya Leoshkevich wrote:
> Use QEMU's qemu.PhyMemMode [1] functionality to read vmcore from the
> physical memory the same way the existing dump tooling does this.
> Gracefully handle non-QEMU targets, early boot, and memory corruptions;
> print a warning if such situation is detected.
>
> [1] https://qemu-project.gitlab.io/qemu/system/gdb.html#examining-physical-memory
>
> Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>
> ---
> scripts/gdb/linux/symbols.py | 31 ++++++++++++++++++++++++++++++-
> scripts/gdb/linux/utils.py | 35 +++++++++++++++++++++++++++++++++++
> 2 files changed, 65 insertions(+), 1 deletion(-)

Can not tell for the gdb part, but for the s390 bits:

Acked-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>