mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Interrupt() method now throws MIException.
This commit is contained in:
parent
04ac19ff94
commit
6725ba2595
1 changed files with 1 additions and 1 deletions
|
@ -354,11 +354,11 @@ public class CTarget implements ICDITarget {
|
|||
* @see org.eclipse.cdt.debug.core.cdi.model.ICDITarget#suspend()
|
||||
*/
|
||||
public void suspend() throws CDIException {
|
||||
session.getMISession().getMIInferior().interrupt();
|
||||
// send a noop to see if we get an aswer.
|
||||
MISession mi = session.getMISession();
|
||||
MICommand noop = new MICommand("");
|
||||
try {
|
||||
mi.getMIInferior().interrupt();
|
||||
mi.postCommand(noop);
|
||||
MIInfo info = noop.getMIInfo();
|
||||
if (info == null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue