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:
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) {
|
||||
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$
|
||||
|
|
Loading…
Add table
Reference in a new issue