debugger: thread 0 is valid for cdb. so use -1 as 'any' value

This commit is contained in:
hjk
2010-12-14 13:00:02 +01:00
parent 7ef927ac6c
commit 6e17e7a3ab
6 changed files with 25 additions and 11 deletions

View File

@@ -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");