If you have a CPU that fails to round up and then run 'btc' you'll end up crashing in kdb becaue we dereferenced NULL. Let's add a check. It's wise to also set the task to NULL when leaving the debugger so that if we fail to round up on a later entry into the debugger we won't backtrace a stale task. Signed-off-by: Douglas Anderson <dianders@chromium.org> Acked-by: Daniel Thompson <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 | ||