Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2007-04-30 11:46:30 +0000
committerDoug Schaefer2007-04-30 11:46:30 +0000
commit0b7da80fc42648c13b0a0730c11c416c2bf5f604 (patch)
tree89847b35799fbf7311a24c833bee67ce4b38ee5f /debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse
parent021e8976990d462841b028f91fa19e4ead72e8d7 (diff)
downloadorg.eclipse.cdt-0b7da80fc42648c13b0a0730c11c416c2bf5f604.tar.gz
org.eclipse.cdt-0b7da80fc42648c13b0a0730c11c416c2bf5f604.tar.xz
org.eclipse.cdt-0b7da80fc42648c13b0a0730c11c416c2bf5f604.zip
Fix compile error due to 1.6 compatability.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MinGWDebuggerPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MinGWDebuggerPage.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MinGWDebuggerPage.java
index 0df34003d32..32cb6cceae8 100644
--- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MinGWDebuggerPage.java
+++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MinGWDebuggerPage.java
@@ -50,10 +50,10 @@ public class MinGWDebuggerPage extends StandardGDBDebuggerPage {
for (int i = 0; i < dirs.length; ++i) {
IPath gdbPath = new Path(dirs[i]).append("gdb.exe"); //$NON-NLS-1$
File gdbFile = gdbPath.toFile();
- if (gdbFile.canExecute())
+ if (gdbFile.exists())
return gdbPath.toOSString();
}
- }
+ }
} catch (CoreException e) {
}

Back to the top