mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Call MIInferior.update() for attaching sessions
This commit is contained in:
parent
040970ff11
commit
e9b8f0d5a0
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,7 @@ public class MIPlugin extends Plugin {
|
|||
}
|
||||
//@@@ We have to manually set the suspended state when we attach
|
||||
session.getMIInferior().setSuspended();
|
||||
session.getMIInferior().update();
|
||||
} catch (MIException e) {
|
||||
// If an exception is thrown that means ok
|
||||
// we did not attach to any target.
|
||||
|
@ -218,6 +219,7 @@ public class MIPlugin extends Plugin {
|
|||
}
|
||||
//@@@ We have to manually set the suspended state when we attach
|
||||
session.getMIInferior().setSuspended();
|
||||
session.getMIInferior().update();
|
||||
return new Session(session, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue