arm: Remove BreakPCEvent on guest kernel panic
authorAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 27 Apr 2016 14:34:58 +0000 (15:34 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 27 Apr 2016 14:34:58 +0000 (15:34 +0100)
commit53f58b5fc149d0d395393e0068493b935a4e53f4
treef8c3521a748a7077a6033cb46804e884532be6a5
parentf1575fdc4a1dd186814e76a314e97bd4c6ddbe86
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>
src/arch/arm/linux/system.cc