mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
771910f719
During debug trap execution we expect dbg_deactivate_sw_breakpoints() to be paired with an dbg_activate_sw_breakpoint(). Currently although the calls are paired correctly they are needlessly smeared across three different functions. Worse this also results in code to drive polled I/O being called with breakpoints activated which, in turn, needlessly increases the set of functions that will recursively trap if breakpointed. Fix this by moving the activation of breakpoints into the debug core. Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20200927211531.1380577-4-daniel.thompson@linaro.org Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> |
||
---|---|---|
.. | ||
.gitignore | ||
kdb_bp.c | ||
kdb_bt.c | ||
kdb_cmds | ||
kdb_debugger.c | ||
kdb_io.c | ||
kdb_keyboard.c | ||
kdb_main.c | ||
kdb_private.h | ||
kdb_support.c | ||
Makefile |