Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

junan and committed by
Jonathan Corbet
3c5fefc8 a66437c2

+7
+7
Documentation/process/debugging/kgdb.rst
··· 380 380 gdb which resolves addresses of kernel symbols from the symbol table 381 381 of vmlinux. 382 382 383 + Kernel parameter: ``rodata`` 384 + ---------------------------- 385 + 386 + ``CONFIG_STRICT_KERNEL_RWX`` is turned on by default and is not 387 + visible to menuconfig on some architectures (arm64 for example), 388 + you can pass ``rodata=off`` to the kernel in this case. 389 + 383 390 Using kdb 384 391 ========= 385 392