CDB: Only use codemodel breakpoint correction for old cdbs.

Since version 6.2 cdb supports setting breakpoints on non
codelines and automatically set it to the next available line.

Change-Id: I27facf4f2463bad76a20ef0abb5a5412471c296f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
David Schulz
2014-05-14 10:20:03 +02:00
parent fe238305e5
commit 84790f9aef
8 changed files with 63 additions and 4 deletions

View File

@@ -134,6 +134,7 @@ bool integerFromWString(const std::wstring &s, Integer *v)
}
void replace(std::wstring &s, wchar_t before, wchar_t after);
void replace(std::string &s, char before, char after);
// Stream a string onto a char stream doing backslash & octal escaping
// suitable for GDBMI usable as 'str << gdbmiStringFormat(wstring)'