1
0
Fork 0
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:
Marc Khouzam 2010-01-12 02:04:02 +00:00
parent 802f7279ba
commit e3f899b9fc

View file

@ -226,7 +226,9 @@ public class LaunchUtils {
// GNU gdb (GDB) 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)
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);
if (matcher.find()) {