Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Brief Correction

Hi,

The assembly changes for 1.0.1 had a fence posting error that would suppress the opcode sometimes when there were no arguments. Please find attached the small change that fixes it.

Thanks!
-Chris

diff -r -u xide_compare/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIAsm.java xide/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIAsm.java --- xide_compare/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIAsm.java Thu Mar 27 19:15:10 2003 +++ xide/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIAsm.java Thu Mar 27 19:20:36 2003
@@ -90,9 +90,7 @@
 				while( (index < chars.length) && (chars[index] > '\u0020'))
 					index++;
 				
-				// guard all whitespace
-				if( index < chars.length )
-					opcode = str.substring( 0, index );
+				opcode = str.substring( 0, index );
 				
 				// skip any whitespace characters
while( index < chars.length &&


Back to the top