Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
JensDll committed Jul 27, 2023
1 parent 4f0bf9a commit 0b5448a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/.config/gdbdash/gdbdash/modules/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def get_max_opcode_width(self, location): # type: (int) -> int
for i in range(start, end):
result = max(result, self.instructions[i]["length"])

return 2 * result + result - 1
return 3 * result - 1

def get_max_offset_width(self, location): # type: (int) -> int
last = min(
Expand Down

0 comments on commit 0b5448a

Please sign in to comment.