diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2008-05-28 12:49:57 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2008-05-28 12:49:57 -0500 |
commit | b33cb815b565a94c654a0fe8e62e36f5b4053888 (patch) | |
tree | cf0c5213903420338e71c44fc14322d34cc1c488 /kernel/kprobes.c | |
parent | 827e609b4581282b98bdf7666f6e93ff1bd1a63e (diff) |
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: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions