mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-05 00:07:48 -04:00
doc: kgdb: Add description about rodata=off kernel parameter
STRICT_KERNEL_RWX can not be turned off throught menuconfig on some architectures, pass "rodata=off" to the kernel in this case. Tested with qemu on arm64. Signed-off-by: junan <junan76@163.com> Suggested-by: Will Deacon <will@kernel.org> Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260116050410.772340-2-junan76@163.com>
This commit is contained in:
@@ -380,6 +380,13 @@ virtual address where the kernel image is mapped and confuses
|
||||
gdb which resolves addresses of kernel symbols from the symbol table
|
||||
of vmlinux.
|
||||
|
||||
Kernel parameter: ``rodata``
|
||||
----------------------------
|
||||
|
||||
``CONFIG_STRICT_KERNEL_RWX`` is turned on by default and is not
|
||||
visible to menuconfig on some architectures (arm64 for example),
|
||||
you can pass ``rodata=off`` to the kernel in this case.
|
||||
|
||||
Using kdb
|
||||
=========
|
||||
|
||||
|
||||
Reference in New Issue
Block a user