Debugger: Fix handling of backslash in strings returned by gdb (used for classname resolving)

git-svn-id: trunk@43197 -
This commit is contained in:
martin 2013-10-10 20:50:16 +00:00
parent 3c36cadea0
commit 1baa61cb47

View File

@ -399,6 +399,12 @@ begin
end;
continue;
end;
if (AValue[i] = '\' ) and (i < length(AValue)) then begin // gdb escapes some chars, even it not pascalish
inc(j);
inc(i); // copy next char
Result[j] := AValue[i];
continue;
end;
if InQuote or not(AValue[i] = '#' ) then begin
inc(j);
Result[j] := AValue[i];