blob: 9f5b5f88fe88eab0b33d192723748fcb0298d7d9 [file] [log] [blame]
/*
* (c) Copyright QNX Software Systems Ltd. 2002.
* All Rights Reserved.
*/
package org.eclipse.cdt.debug.mi.core.output;
/**
* GDB/MI shared information
*/
public class MISigHandle {
String signal = "";
boolean stop;
boolean print;
boolean pass;
String description = "";
public MISigHandle (String name, boolean stp, boolean prnt, boolean ps, String desc) {
signal = name;
stop = stp;
print = prnt;
pass = ps;
description = desc;
}
public String getName() {
return signal;
}
public boolean isStop() {
return stop;
}
public boolean isPrint() {
return print;
}
public boolean isPass() {
return pass;
}
public void handle(boolean isIgnore, boolean isStop) {
pass = !isIgnore;
stop = isStop;
}
public String getDescription() {
return description;
}
}