Commit c12af30b authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Jonathan Corbet
parent 99d56196
...@@ -63,10 +63,9 @@ will want to turn on ``CONFIG_DEBUG_INFO`` which is called ...@@ -63,10 +63,9 @@ will want to turn on ``CONFIG_DEBUG_INFO`` which is called
It is advised, but not required, that you turn on the It is advised, but not required, that you turn on the
``CONFIG_FRAME_POINTER`` kernel option which is called :menuselection:`Compile ``CONFIG_FRAME_POINTER`` kernel option which is called :menuselection:`Compile
the kernel with frame pointers` in the config menu. This option inserts code the kernel with frame pointers` in the config menu. This option inserts code
to into the compiled executable which saves the frame information in into the compiled executable which saves the frame information in registers
registers or on the stack at different points which allows a debugger or on the stack at different points which allows a debugger such as gdb to
such as gdb to more accurately construct stack back traces while more accurately construct stack back traces while debugging the kernel.
debugging the kernel.
If the architecture that you are using supports the kernel option If the architecture that you are using supports the kernel option
``CONFIG_STRICT_KERNEL_RWX``, you should consider turning it off. This ``CONFIG_STRICT_KERNEL_RWX``, you should consider turning it off. This
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment