debugger: Merge 'fork' and 'vfork' breakpoints

Reviewed-by: Friedemann Kleint
This commit is contained in:
hjk
2011-03-29 09:58:21 +02:00
parent bfcdd9c700
commit 7f6b529a48
7 changed files with 27 additions and 20 deletions

View File

@@ -106,8 +106,8 @@ static QString typeToString(BreakpointType type)
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:
@@ -512,7 +512,7 @@ QVariant BreakHandler::data(const QModelIndex &mi, int role) const
|| 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)