changeset d9e32a851e2e in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=d9e32a851e2e
description:
        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 <[email protected]>
        Reviewed-by: Nikos Nikoleris <[email protected]>

diffstat:

 src/arch/arm/linux/system.cc |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (14 lines):

diff -r 768b98294fae -r d9e32a851e2e src/arch/arm/linux/system.cc
--- a/src/arch/arm/linux/system.cc      Wed Apr 27 15:34:48 2016 +0100
+++ b/src/arch/arm/linux/system.cc      Wed Apr 27 15:34:58 2016 +0100
@@ -68,10 +68,6 @@
     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) {
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to