diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2011-09-21 22:07:47 +0200 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2012-03-22 21:07:16 +0100 |
commit | 1ba0c1720eb0de2d0f3abf84c0b128d10af520d1 (patch) | |
tree | 47515d331a39e868510266d72f29267b30b00399 /arch/mips/ath79/dev-usb.c | |
parent | kdb: Avoid using dbg_io_ops until it is initialized (diff) | |
download | linux-1ba0c1720eb0de2d0f3abf84c0b128d10af520d1.tar.xz linux-1ba0c1720eb0de2d0f3abf84c0b128d10af520d1.zip |
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: Tim Bird <tim.bird@am.sony.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Tim Bird <tim.bird@am.sony.com>
Diffstat (limited to 'arch/mips/ath79/dev-usb.c')
0 files changed, 0 insertions, 0 deletions