arm: Remove BreakPCEvent on guest kernel panic
The LinuxArmSystem class normally provides support for panicing gem5 if the simulated kernel panics. When this is turned off (default), gem5 uses a BreakPCEvent to provide a debugger hook into the simulator when the kernel crashes. This hook unconditionally kills gem5 with a SIGTRAP unless gem5 is compiled in fast mode. This is undesirable since the panic_on_panic param already provides similar functionality. Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
This commit is contained in:
parent
f1575fdc4a
commit
53f58b5fc1
1 changed files with 0 additions and 4 deletions
|
@ -68,10 +68,6 @@ LinuxArmSystem::LinuxArmSystem(Params *p)
|
|||
if (p->panic_on_panic) {
|
||||
kernelPanicEvent = addKernelFuncEventOrPanic<PanicPCEvent>(
|
||||
"panic", "Kernel panic in simulated kernel");
|
||||
} else {
|
||||
#ifndef NDEBUG
|
||||
kernelPanicEvent = addKernelFuncEventOrPanic<BreakPCEvent>("panic");
|
||||
#endif
|
||||
}
|
||||
|
||||
if (p->panic_on_oops) {
|
||||
|
|
Loading…
Reference in a new issue