Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294668
b: refs/heads/master
c: 1ba0c17
h: refs/heads/master
v: v3
  • Loading branch information
Jason Wessel committed Mar 22, 2012
1 parent 167ed18 commit a0c6039
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b8adde8ddec9ff62a21564fa8020b5463e70d4de
refs/heads/master: 1ba0c1720eb0de2d0f3abf84c0b128d10af520d1
7 changes: 7 additions & 0 deletions trunk/kernel/debug/kdb/kdb_bp.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,13 @@ static int _kdb_bp_install(struct pt_regs *regs, kdb_bp_t *bp)
} else {
kdb_printf("%s: failed to set breakpoint at 0x%lx\n",
__func__, bp->bp_addr);
#ifdef CONFIG_DEBUG_RODATA
if (!bp->bp_type) {
kdb_printf("Software breakpoints are unavailable.\n"
" Change the kernel CONFIG_DEBUG_RODATA=n\n"
" OR use hw breaks: help bph\n");
}
#endif
return 1;
}
return 0;
Expand Down

0 comments on commit a0c6039

Please sign in to comment.