Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Quick fix in launcher make i386 --> x86

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core/ChangeLog,v
retrieving revision 1.43
diff -u -r1.43 ChangeLog
--- ChangeLog	27 Nov 2002 04:47:32 -0000	1.43
+++ ChangeLog	28 Nov 2002 00:38:04 -0000
@@ -1,5 +1,10 @@
 2002-11-27 Alain Magloire
 
+	* utils/.../utils/coff/PE.java (getAttribute):
+	Quick fix to return the save value for CPU "x86" instead of "i386"
+
+2002-11-27 Alain Magloire
+
 	* model/.../cdt/core/model/CoreModel.java:
 	Remove the static qualifiers and force people to use getDefault().
 	(getBinaryParserFormat): New method to retrieve the format of a project.
Index: utils/org/eclipse/cdt/utils/coff/PE.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/PE.java,v
retrieving revision 1.2
diff -u -r1.2 PE.java
--- utils/org/eclipse/cdt/utils/coff/PE.java	25 Nov 2002 05:54:54 -0000	1.2
+++ utils/org/eclipse/cdt/utils/coff/PE.java	28 Nov 2002 00:38:07 -0000
@@ -361,7 +361,7 @@
 				attrib.cpu = "arm64";
 			break;
 			case PEConstants.IMAGE_FILE_MACHINE_I386:
-				attrib.cpu = "i386";
+				attrib.cpu = "x86";
 			break;
 			case PEConstants.IMAGE_FILE_MACHINE_IA64:
 				attrib.cpu = "ia64";




Back to the top