Compare commits

...

2 Commits

Author SHA1 Message Date
Anton Lydike af545587df rv32i: respect conf.debug_instruction setting 2 years ago
Anton Lydike 090600ef58 misc: fixed a typo in a docstring 2 years ago

@ -295,7 +295,7 @@ class RV32I(InstructionSet):
def instruction_sbreak(self, ins: 'Instruction'):
ASSERT_LEN(ins.args, 0)
if self.cpu.conf.debug_instruction:
print(FMT_DEBUG + "Debug instruction encountered at 0x{:08X}".format(self.pc - 1) + FMT_NONE)
raise LaunchDebuggerException()

@ -43,7 +43,7 @@ class MemorySection(ABC):
:param bytes_per_row: the number of bytes displayed per row
:param rows: the number of rows displayed
:param group: Group this many bytes into one when displaying
:param highlight: Highligh the group containing this address
:param highlight: Highlight the group containing this address
:return:
"""
if isinstance(start, Int32):

Loading…
Cancel
Save