mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 12:39:23 +02:00
DBG: prevent a range check error
git-svn-id: trunk@28256 -
This commit is contained in:
parent
cc86c3c99e
commit
8e1f7a799e
@ -3995,19 +3995,21 @@ begin
|
|||||||
Line := ReadLine;
|
Line := ReadLine;
|
||||||
while DebugProcessRunning and (Line <> '(gdb) ') do
|
while DebugProcessRunning and (Line <> '(gdb) ') do
|
||||||
begin
|
begin
|
||||||
case Line[1] of
|
if Line <> ''
|
||||||
'=': begin
|
then
|
||||||
case StringCase(GetPart(['='], [','], Line, False, False),
|
case Line[1] of
|
||||||
['thread-group-added'])
|
'=': begin
|
||||||
of
|
case StringCase(GetPart(['='], [','], Line, False, False),
|
||||||
0: {ignore};
|
['thread-group-added'])
|
||||||
else
|
of
|
||||||
S := S + Line + LineEnding;
|
0: {ignore};
|
||||||
|
else
|
||||||
|
S := S + Line + LineEnding;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
else
|
||||||
|
S := S + Line + LineEnding;
|
||||||
end;
|
end;
|
||||||
else
|
|
||||||
S := S + Line + LineEnding;
|
|
||||||
end;
|
|
||||||
Line := ReadLine;
|
Line := ReadLine;
|
||||||
end;
|
end;
|
||||||
if S <> ''
|
if S <> ''
|
||||||
|
Loading…
Reference in New Issue
Block a user