mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
[299292] Version fix for Red Hat
This commit is contained in:
parent
802f7279ba
commit
e3f899b9fc
1 changed files with 3 additions and 1 deletions
|
@ -226,7 +226,9 @@ public class LaunchUtils {
|
||||||
// GNU gdb (GDB) 6.8.50.20080730-cvs
|
// GNU gdb (GDB) 6.8.50.20080730-cvs
|
||||||
// GNU gdb (Ericsson GDB 1.0-10) 6.8.50.20080730-cvs
|
// GNU gdb (Ericsson GDB 1.0-10) 6.8.50.20080730-cvs
|
||||||
// GNU gdb (GDB) Fedora (7.0-3.fc12)
|
// GNU gdb (GDB) Fedora (7.0-3.fc12)
|
||||||
Pattern pattern = Pattern.compile(" gdb( \\(.*?\\))? (\\w* )?\\(?(\\d*(\\.\\d*)*)", Pattern.MULTILINE); //$NON-NLS-1$
|
// GNU gdb Red Hat Linux (6.3.0.0-1.162.el4rh)
|
||||||
|
|
||||||
|
Pattern pattern = Pattern.compile(" gdb( \\(.*?\\))? (\\w* )*\\(?(\\d*(\\.\\d*)*)", Pattern.MULTILINE); //$NON-NLS-1$
|
||||||
|
|
||||||
Matcher matcher = pattern.matcher(versionOutput);
|
Matcher matcher = pattern.matcher(versionOutput);
|
||||||
if (matcher.find()) {
|
if (matcher.find()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue