Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

kdb: Add message about CONFIG_DEBUG_RODATA on failure to install breakpoint



On x86, if CONFIG_DEBUG_RODATA is set, one cannot set breakpoints
via KDB.  Apparently this is a well-known problem, as at least one distribution
now ships with both KDB enabled and CONFIG_DEBUG_RODATA=y for security reasons.

This patch adds an printk message to the breakpoint failure case,
in order to provide suggestions about how to use the debugger.

Reported-by: default avatarTim Bird <tim.bird@am.sony.com>
Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
Acked-by: default avatarTim Bird <tim.bird@am.sony.com>
parent b8adde8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment