Clean up output for pc break events, and remove a unneeded break event.
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
This commit is contained in:
parent
2bb9126a7a
commit
e07fee31cb
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue