return msgBreakpointAtSpecialFunc("fork");
case BreakpointAtExec:
return msgBreakpointAtSpecialFunc("exec");
- case BreakpointAtVFork:
- return msgBreakpointAtSpecialFunc("vfork");
+ //case BreakpointAtVFork:
+ // return msgBreakpointAtSpecialFunc("vfork");
case BreakpointAtSysCall:
return msgBreakpointAtSpecialFunc("syscall");
case BreakpointAtMain:
|| data.type == BreakpointAtCatch
|| data.type == BreakpointAtFork
|| data.type == BreakpointAtExec
- || data.type == BreakpointAtVFork
+ //|| data.type == BreakpointAtVFork
|| data.type == BreakpointAtSysCall)
return typeToString(data.type);
if (data.type == Watchpoint)
case BreakpointAtMain:
case BreakpointAtFork:
case BreakpointAtExec:
- case BreakpointAtVFork:
+ //case BreakpointAtVFork:
case BreakpointAtSysCall:
case UnknownType:
break;
BreakpointAtMain,
BreakpointAtFork,
BreakpointAtExec,
- BreakpointAtVFork,
+ //BreakpointAtVFork,
BreakpointAtSysCall,
Watchpoint
};
// Match BreakpointType (omitting unknown type).
m_ui.setupUi(this);
QStringList types;
- types << tr("File and Line Number") << tr("Function Name") << tr("Address")
- << tr("throw") << tr("catch")
- << tr("Function \"main()\"")
- << tr("fork") << tr("exec")
- << tr("vfork") << tr("syscall")
- << tr("Address (Watchpoint)");
+ types << tr("File and Line Number")
+ << tr("Function Name")
+ << tr("Address")
+ << tr("Break when C++ Exception is Thrown")
+ << tr("Break when C++ Exception is Caught")
+ << tr("Break when Function \"main()\" Starts")
+ << tr("Break when a new Process is Forked")
+ << tr("Break when a new Process is Executed")
+ << tr("Break when a System Call is Executed")
+ << tr("Break on Data Access (Watchpoint)");
QTC_ASSERT(types.size() == Watchpoint, return; )
m_ui.comboBoxType->addItems(types);
m_ui.pathChooserFileName->setExpectedKind(Utils::PathChooser::File);
case BreakpointAtMain:
case BreakpointAtFork:
case BreakpointAtExec:
- case BreakpointAtVFork:
+ //case BreakpointAtVFork:
case BreakpointAtSysCall:
break;
case BreakpointByAddress:
case BreakpointAtCatch:
case BreakpointAtFork:
case BreakpointAtExec:
- case BreakpointAtVFork:
+ //case BreakpointAtVFork:
case BreakpointAtSysCall:
clearOtherParts(AllConditionParts|ModulePart|TracePointPart);
setPartsEnabled(AllConditionParts|TracePointPart);
switch (data.type) {
case UnknownType:
case BreakpointAtFork:
- case BreakpointAtVFork:
+ //case BreakpointAtVFork:
case BreakpointAtSysCall:
return false;
case Watchpoint:
case BreakpointByFunction:
case BreakpointByAddress:
case BreakpointAtFork:
- case BreakpointAtVFork:
+ //case BreakpointAtVFork:
case BreakpointAtSysCall:
case Watchpoint:
break;
str << '~' << bp.threadSpec << ' ';
// Currently use 'bu' so that the offset expression (including file name)
- // is kept when reporting back breakpoints (which is otherwise discarded when resolving).
+ // is kept when reporting back breakpoints (which is otherwise discarded
+ // when resolving).
str << (bp.type == Watchpoint ? "ba" : "bu");
if (id != BreakpointId(-1))
str << id;
switch (bp.type) {
case BreakpointAtFork:
case BreakpointAtExec:
- case BreakpointAtVFork:
+ //case BreakpointAtVFork:
case BreakpointAtSysCall:
case UnknownType:
case BreakpointAtCatch:
if (type == BreakpointAtFork) {
postCommand("catch fork", NeedsStop | RebuildBreakpointModel,
CB(handleCatchInsert), id);
- return;
- }
- if (type == BreakpointAtVFork) {
postCommand("catch vfork", NeedsStop | RebuildBreakpointModel,
CB(handleCatchInsert), id);
return;
}
+ //if (type == BreakpointAtVFork) {
+ // postCommand("catch vfork", NeedsStop | RebuildBreakpointModel,
+ // CB(handleCatchInsert), id);
+ // return;
+ //}
if (type == BreakpointAtExec) {
postCommand("catch exec", NeedsStop | RebuildBreakpointModel,
CB(handleCatchInsert), id);