mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
The wrong MIPlugin.createCSession() was use, noted
by Ashish.
This commit is contained in:
parent
d48c7e733d
commit
3d0c4ea4f6
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ public class GDBServerDebugger implements ICDebugger {
|
|||
|
||||
String remote = config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEV, "invalid");
|
||||
String remoteBaud = config.getAttribute(IGDBServerMILaunchConfigurationConstants.ATTR_DEV_SPEED, "invalid");
|
||||
session = (Session)MIPlugin.getDefault().createCSession(gdb, (File)null, cwd, gdbinit);
|
||||
session = (Session)MIPlugin.getDefault().createCSession(gdb, exe.getLocation().toFile(), -1, null, cwd, gdbinit);
|
||||
MISession miSession = session.getMISession();
|
||||
CommandFactory factory = miSession.getCommandFactory();
|
||||
MIGDBSet setRemoteBaud = factory.createMIGDBSet(new String[]{"remotebaud", remoteBaud});
|
||||
|
|
Loading…
Add table
Reference in a new issue