diff options
| author | Michal Suchanek <msuchanek@suse.de> | 2018-05-23 20:00:54 +0200 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-25 00:08:26 +1000 |
| commit | 7daf59300999693b85233762b847f1b2313cccbd (patch) | |
| tree | 3fc1422e3f23cb96b956141ddc4b825a607b92d4 /tools/perf/scripts/python | |
| parent | powerpc/8xx: fix invalid register expression in head_8xx.S (diff) | |
| download | linux-7daf59300999693b85233762b847f1b2313cccbd.tar.gz linux-7daf59300999693b85233762b847f1b2313cccbd.zip | |
powerpc/xmon: Also setup debugger hooks when single-stepping
When single-stepping kernel code from xmon without a debug hook
enabled the kernel crashes. This can happen when kernel starts with
xmon on crash disabled but xmon is entered using sysrq.
Call force_enable_xmon when single-stepping in xmon to install the
xmon debug hooks.
Fixes: e1368d0c9edb ("powerpc/xmon: Setup debugger hooks when first break-point is set")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Vaibhav Jain <vaibhav@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
