1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

Fix compile error due to 1.6 compatability.

This commit is contained in:
Doug Schaefer 2007-04-30 11:46:30 +00:00
parent 021e897699
commit 0b7da80fc4

View file

@ -50,7 +50,7 @@ public class MinGWDebuggerPage extends StandardGDBDebuggerPage {
for (int i = 0; i < dirs.length; ++i) { for (int i = 0; i < dirs.length; ++i) {
IPath gdbPath = new Path(dirs[i]).append("gdb.exe"); //$NON-NLS-1$ IPath gdbPath = new Path(dirs[i]).append("gdb.exe"); //$NON-NLS-1$
File gdbFile = gdbPath.toFile(); File gdbFile = gdbPath.toFile();
if (gdbFile.canExecute()) if (gdbFile.exists())
return gdbPath.toOSString(); return gdbPath.toOSString();
} }
} }