1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-05 06:33:23 +02:00

Give a way for the JUnit tests to specify which GDB to use.

This commit is contained in:
Marc Khouzam 2008-03-31 14:36:20 +00:00
parent bb57cba31b
commit 76a4659367

View file

@ -14,6 +14,7 @@ import java.util.HashMap;
import java.util.Map;
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
import org.eclipse.cdt.debug.mi.core.IMILaunchConfigurationConstants;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.dd.gdb.internal.provisional.launching.GdbLaunch;
import org.eclipse.dd.mi.service.command.events.MIStoppedEvent;
@ -56,6 +57,7 @@ public class BaseTestCase {
attrs.put(ICDTLaunchConfigurationConstants.ATTR_USE_TERMINAL, true);
attrs.put(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, true);
attrs.put(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN_SYMBOL, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_SYMBOL_DEFAULT);
attrs.put(IMILaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb");
}
@Before