mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-20 07:25:23 +02:00
[261700] Temporary fix for Cygwin, until GDB 7.0 is released
This commit is contained in:
parent
5dd45e2b71
commit
9d0cfcfdb2
1 changed files with 6 additions and 0 deletions
|
@ -226,6 +226,12 @@ public class LaunchUtils {
|
||||||
Matcher matcher = pattern.matcher(line);
|
Matcher matcher = pattern.matcher(line);
|
||||||
if (matcher.find()) {
|
if (matcher.find()) {
|
||||||
version = matcher.group(2);
|
version = matcher.group(2);
|
||||||
|
// Temporary for cygwin, until GDB 7 is released
|
||||||
|
// Any cygwin GDB staring with 6.8 should be treated as plain 6.8
|
||||||
|
if (line.toLowerCase().indexOf("cygwin") != -1 &&
|
||||||
|
version.startsWith("6.8")) {
|
||||||
|
version = "6.8";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue