diff options
-rw-r--r-- | cpu/pc_event.cc | 2 | ||||
-rw-r--r-- | kern/linux/linux_system.cc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cpu/pc_event.cc b/cpu/pc_event.cc index 21eef677a..2c6bb2443 100644 --- a/cpu/pc_event.cc +++ b/cpu/pc_event.cc @@ -125,7 +125,7 @@ void BreakPCEvent::process(ExecContext *xc) { StringWrap name(xc->cpu->name() + ".break_event"); - DPRINTFN("break event %s triggered", descr()); + DPRINTFN("break event %s triggered\n", descr()); debug_break(); if (remove) delete this; diff --git a/kern/linux/linux_system.cc b/kern/linux/linux_system.cc index b6aa9c6f2..a9c92b54a 100644 --- a/kern/linux/linux_system.cc +++ b/kern/linux/linux_system.cc @@ -109,12 +109,13 @@ LinuxSystem::LinuxSystem(Params *p) kernelPanicEvent->schedule(addr); else panic("could not find kernel symbol \'panic\'"); - +#if 0 kernelDieEvent = new BreakPCEvent(&pcEventQueue, "die if kernel"); if (kernelSymtab->findAddress("die_if_kernel", addr)) kernelDieEvent->schedule(addr); else panic("could not find kernel symbol \'die_if_kernel\'"); +#endif #endif |