mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +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:
parent
e2c0317ff1
commit
e9b4c8cb2e
1 changed files with 5 additions and 2 deletions
|
@ -93,8 +93,11 @@ public class DebugConfiguration implements ICDebugConfiguration {
|
||||||
public boolean supportsCPU(String cpu) {
|
public boolean supportsCPU(String cpu) {
|
||||||
String nativeCPU = Platform.getOSArch();
|
String nativeCPU = Platform.getOSArch();
|
||||||
boolean ret = false;
|
boolean ret = false;
|
||||||
if ( nativeCPU.startsWith(cpu) ||
|
if (nativeCPU.startsWith(cpu)
|
||||||
nativeCPU.equalsIgnoreCase("powerpc") && cpu.equalsIgnoreCase("ppc")) {
|
|| 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);
|
ret = getCPUs().contains(CPU_NATIVE);
|
||||||
}
|
}
|
||||||
return ret || getCPUs().contains(cpu) || getCPUs().contains("*"); //$NON-NLS-1$
|
return ret || getCPUs().contains(cpu) || getCPUs().contains("*"); //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue