diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIExpressionsTest.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIExpressionsTest.java index de9d816596e..9290fabd786 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIExpressionsTest.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIExpressionsTest.java @@ -93,6 +93,11 @@ public class MIExpressionsTest extends BaseParametrizedTestCase { public void doBeforeTest() throws Exception { super.doBeforeTest(); + // Disabling this suite for GDB < 7.5. There are issues when the test + // binaries are compiled with gcc > 4.8, which uses DWARF version 4. + // see bug 512303 + assumeGdbVersionAtLeast(ITestConstants.SUFFIX_GDB_7_5); + fSession = getGDBLaunch().getSession(); Runnable runnable = new Runnable() { @Override diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/StepIntoSelectionTest.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/StepIntoSelectionTest.java index 2a040cc1d4f..94d0c25c136 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/StepIntoSelectionTest.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/StepIntoSelectionTest.java @@ -108,6 +108,11 @@ public class StepIntoSelectionTest extends BaseParametrizedTestCase { @Override public void doBeforeTest() throws Exception { super.doBeforeTest(); + + // Disabling this suite for GDB < 7.5. There are issues when the test + // binaries are compiled with gcc > 4.8, which uses DWARF version 4. + // see bug 512303 + assumeGdbVersionAtLeast(ITestConstants.SUFFIX_GDB_7_5); Runnable runnable = new Runnable() { @Override