Skip to content
Commit b33cb815 authored by Jason Wessel's avatar Jason Wessel
Browse files

kgdbts: Use HW breakpoints with CONFIG_DEBUG_RODATA



Whenever CONFIG_DEBUG_RODATA is set in the kernel config many kernel
text sections become read-only, and the use of software breakpoints in
the kgdb tests will cause the kernel to fail to complete the start up.

Until such time that there is an official API for modifying read-only
text sections hardware breakpoints must be used to run the do_fork or
sys_open tests or the tests get skipped.

Also fix the duplicated include reported by:
Huang Weiyi <weiyi.huang@gmail.com>

Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
parent 827e609b
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