1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 391115 - Disassembly view presents "\t" in instruction strings

This commit is contained in:
Dmitry Kozlov 2012-10-18 11:39:13 -04:00 committed by Mikhail Khodjaiants
parent f2724c6bdf
commit a0f28b668f

View file

@ -8,6 +8,7 @@
* Contributors:
* QNX Software Systems - Initial API and implementation
* Ericsson - Adapted for DSF
* Dmitry Kozlov (Mentor) - Add tab symbols parsing (Bug 391115)
*******************************************************************************/
package org.eclipse.cdt.dsf.mi.service.command.output;
@ -111,6 +112,8 @@ public class MIInstruction extends AbstractInstruction {
translated string since the only thing we are doing is
displaying it. */
str = ((MIConst) value).getString();
/* to avoid improper displaying of instructions we need to translate tabs */
str = str.replace("\\t", "\t"); //$NON-NLS-1$ //$NON-NLS-2$
char chars[] = str.toCharArray();
int index = 0;