commit | aee700022ad5ec136e0c43c067041cec74dc6d5e | [log] [tgz] |
---|---|---|
author | Douglas Anderson <dianders@chromium.org> | Tue Dec 04 19:38:28 2018 -0800 |
committer | Daniel Thompson <daniel.thompson@linaro.org> | Wed Dec 12 20:56:42 2018 +0000 |
tree | 28a6c66c667177ad20271d85d332f0e3831b955f | |
parent | e046994f769512874bb13dfcf53f7c1f2f71f6f6 [diff] |
kdb: Don't back trace on a cpu that didn't round up 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>