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:
parent
f2724c6bdf
commit
a0f28b668f
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue