mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-18 21:55:45 +02:00
Always call setAutoSolib()
This commit is contained in:
parent
8d67037977
commit
01779d0976
1 changed files with 3 additions and 5 deletions
|
@ -20,13 +20,11 @@ import org.eclipse.debug.core.ILaunchConfiguration;
|
||||||
|
|
||||||
public class GDBDebugger implements ICDebugger {
|
public class GDBDebugger implements ICDebugger {
|
||||||
|
|
||||||
void initializeLibraries(ILaunchConfiguration config, CSession session) throws CDIException {
|
protected void initializeLibraries(ILaunchConfiguration config, CSession session) throws CDIException {
|
||||||
try {
|
try {
|
||||||
SourceManager mgr = (SourceManager)session.getSourceManager();
|
SourceManager mgr = (SourceManager)session.getSourceManager();
|
||||||
boolean autolib = config.getAttribute(IMILaunchConfigurationConstants.ATTR_AUTO_SOLIB, false);
|
boolean autolib = config.getAttribute(IMILaunchConfigurationConstants.ATTR_AUTO_SOLIB, true);
|
||||||
if (autolib) {
|
mgr.setAutoSolib(autolib);
|
||||||
mgr.setAutoSolib();
|
|
||||||
}
|
|
||||||
List p = config.getAttribute(IMILaunchConfigurationConstants.ATTR_SOLIB_PATH, new ArrayList(1));
|
List p = config.getAttribute(IMILaunchConfigurationConstants.ATTR_SOLIB_PATH, new ArrayList(1));
|
||||||
if (p.size() > 0) {
|
if (p.size() > 0) {
|
||||||
String[] paths = (String[])p.toArray(new String[0]);
|
String[] paths = (String[])p.toArray(new String[0]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue