Clean up output for pc break events, and remove a unneeded break event.
authorRon Dreslinski <rdreslin@umich.edu>
Thu, 28 Apr 2005 21:24:04 +0000 (17:24 -0400)
committerRon Dreslinski <rdreslin@umich.edu>
Thu, 28 Apr 2005 21:24:04 +0000 (17:24 -0400)
cpu/pc_event.cc:
    Add a newline to the printout to clean up output
kern/linux/linux_system.cc:
    Remove the die_if_kernel pc break event, it is being called when not the kernel and leads to unneeded printouts

--HG--
extra : convert_revision : c359532db31c961074894cc6c44c8452592caca8

cpu/pc_event.cc
kern/linux/linux_system.cc

index 21eef677a5c543f46a917f979ef57fe7a0148d7b..2c6bb2443892d2b9872cc770db7321e3b6a6a466 100644 (file)
@@ -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;
index b6aa9c6f2b1cd9918529d3df77a09b57cc9fff77..a9c92b54a950717d15c275fa267adb44fa23237a 100644 (file)
@@ -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