[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAAss7+pgO1W6CBGRidmmXBZ1shYWNHJ8K=fmY8iXCdxXap9U9w@mail.gmail.com>
Date: Tue, 27 Apr 2021 18:18:04 +0200
From: Josef <josef.grieb@...il.com>
To: linux-kernel@...r.kernel.org
Subject: gdb python script lx command error
Hi,
the lx commands(like lx-symbols) were failing in gdb with the following error:
loading vmlinux
Python Exception <class 'gdb.MemoryError'> Cannot access memory at
address 0xffffffff828da7a0:
Error occurred in Python: Cannot access memory at address 0xffffffff828da7a0
the python script is loaded in gdb
(/home/jo/linux-5.12/vmlinux-gdb.py) the CONFIG_RANDOMIZE_BASE is
disabled and CONFIG_FRAME_POINTER is enabled
kernel config:
https://gist.githubusercontent.com/1Jo1/0d455013f31bb42ec68715ac7ff10db7/raw/7501b404abdfb6949d13df97216f4cace3192f2e/qemu-kernel-gdb-debugging
I followed these instructions
https://www.kernel.org/doc/html/latest/dev-tools/gdb-kernel-debugging.html
I have the same issue with older kernels, probably I missed something?
--
Josef
Powered by blists - more mailing lists