Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorChris Recoskie2007-06-26 16:43:37 +0000
committerChris Recoskie2007-06-26 16:43:37 +0000
commite9b4c8cb2e231a0834b481ac8e68b0284fcdb1ee (patch)
tree86cda793b7a620268ac6f0bac646b7d178bf4207 /debug
parente2c0317ff17b983f699fe213c3e700fe3dc151c3 (diff)
downloadorg.eclipse.cdt-e9b4c8cb2e231a0834b481ac8e68b0284fcdb1ee.tar.gz
org.eclipse.cdt-e9b4c8cb2e231a0834b481ac8e68b0284fcdb1ee.tar.xz
org.eclipse.cdt-e9b4c8cb2e231a0834b481ac8e68b0284fcdb1ee.zip
RESOLVED - bug 193800: Cannot launch C/C++ application on AIX
https://bugs.eclipse.org/bugs/show_bug.cgi?id=193800
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java
index 2bf5c9876cc..2dac543271f 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/DebugConfiguration.java
@@ -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$

Back to the top