Fix rendering of an instruction in instruction list
The disassembly string comes from GDB which in some cases (e.g,
RISC-V) uses tab to separate mnemonic from operands. This tab
must be expanded before the string is handed over to the list view
to render otherwise it would show replacement glyph ("cheese").
--- a/VDBInstructionPresenter.st Tue Jan 29 09:58:21 2019 +0000
+++ b/VDBInstructionPresenter.st Wed Jan 30 11:36:40 2019 +0000
@@ -77,11 +77,11 @@
].
instruction address printOn: s base: 16 size: 16 fill: $0.
s space.
- s nextPutAll: instruction assembly
+ s nextPutAll: instruction assembly withTabsExpanded
]
"Created: / 22-06-2018 / 12:21:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 09-08-2018 / 11:15:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 30-01-2019 / 11:33:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!VDBInstructionPresenter methodsFor:'testing'!
@@ -90,3 +90,10 @@
^ true
! !
+!VDBInstructionPresenter class methodsFor:'documentation'!
+
+version_HG
+
+ ^ '$Changeset: <not expanded> $'
+! !
+