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:
parent
021e897699
commit
0b7da80fc4
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue