forked from qt-creator/qt-creator
debugger: thread 0 is valid for cdb. so use -1 as 'any' value
This commit is contained in:
@@ -61,7 +61,7 @@ QByteArray cdbAddBreakpointCommand(const Debugger::Internal::BreakpointParameter
|
||||
QByteArray rc;
|
||||
ByteArrayInputStream str(rc);
|
||||
|
||||
if (bp.threadSpec > 0)
|
||||
if (bp.threadSpec >= 0)
|
||||
str << '~' << bp.threadSpec << ' ';
|
||||
|
||||
str << (bp.type == Debugger::Internal::Watchpoint ? "ba" : "bp");
|
||||
|
||||
Reference in New Issue
Block a user