debugger: make "threadspec" an int instead of a bytearray

This commit is contained in:
hjk
2010-11-30 13:39:01 +01:00
parent d02b2e9a36
commit d5c5b90b4f
8 changed files with 36 additions and 43 deletions

View File

@@ -62,7 +62,7 @@ QByteArray cdbAddBreakpointCommand(const Debugger::Internal::BreakpointParameter
QByteArray rc;
ByteArrayInputStream str(rc);
if (!bp.threadSpec.isEmpty())
if (bp.threadSpec > 0)
str << '~' << bp.threadSpec << ' ';
str << (bp.type == Debugger::Internal::Watchpoint ? "ba" : "bp");