1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

RESOLVED - bug 193800: Cannot launch C/C++ application on AIX

https://bugs.eclipse.org/bugs/show_bug.cgi?id=193800
This commit is contained in:
Chris Recoskie 2007-06-26 16:43:37 +00:00
parent e2c0317ff1
commit e9b4c8cb2e

View file

@ -93,8 +93,11 @@ public class DebugConfiguration implements ICDebugConfiguration {
public boolean supportsCPU(String cpu) {
String nativeCPU = Platform.getOSArch();
boolean ret = false;
if ( nativeCPU.startsWith(cpu) ||
nativeCPU.equalsIgnoreCase("powerpc") && cpu.equalsIgnoreCase("ppc")) {
if (nativeCPU.startsWith(cpu)
|| nativeCPU.equalsIgnoreCase("powerpc") //$NON-NLS-1$
&& (cpu.equalsIgnoreCase("ppc") //$NON-NLS-1$
|| cpu.equalsIgnoreCase("xcoff32") || cpu //$NON-NLS-1$
.equalsIgnoreCase("xcoff64"))) { //$NON-NLS-1$
ret = getCPUs().contains(CPU_NATIVE);
}
return ret || getCPUs().contains(cpu) || getCPUs().contains("*"); //$NON-NLS-1$