fix log message in trapstackpush
This commit is contained in:
parent
6c5dbb1e34
commit
afdd35bc9a
1 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@ from kw11 import KW11
|
||||||
|
|
||||||
from op4 import op4_dispatch_table
|
from op4 import op4_dispatch_table
|
||||||
|
|
||||||
|
|
||||||
# A note about the various opNxxx files:
|
# A note about the various opNxxx files:
|
||||||
#
|
#
|
||||||
# Conceptually all of those are part of the PDP11 class. But having one
|
# Conceptually all of those are part of the PDP11 class. But having one
|
||||||
|
@ -808,7 +809,7 @@ class PDP11:
|
||||||
# again this is a pretty egregious error it means the kernel
|
# again this is a pretty egregious error it means the kernel
|
||||||
# stack is not mapped, or the stack pointer is odd, or similar
|
# stack is not mapped, or the stack pointer is odd, or similar
|
||||||
# very bad mistakes by the kernel code. It is a fatal halt
|
# very bad mistakes by the kernel code. It is a fatal halt
|
||||||
self.logger.info(f"Trap ({e}) pushing trap {trap} onto stack")
|
self.logger.info(f"Trap ({e}) pushing trap frame onto stack")
|
||||||
self.logger.info(f"Machine state: {self.machinestate()}")
|
self.logger.info(f"Machine state: {self.machinestate()}")
|
||||||
self.logger.info("HALTING")
|
self.logger.info("HALTING")
|
||||||
self.halted = self.HALTED_STACK
|
self.halted = self.HALTED_STACK
|
||||||
|
|
Loading…
Add table
Reference in a new issue