mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:39:31 +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;
|
||||
while DebugProcessRunning and (Line <> '(gdb) ') do
|
||||
begin
|
||||
case Line[1] of
|
||||
'=': begin
|
||||
case StringCase(GetPart(['='], [','], Line, False, False),
|
||||
['thread-group-added'])
|
||||
of
|
||||
0: {ignore};
|
||||
else
|
||||
S := S + Line + LineEnding;
|
||||
if Line <> ''
|
||||
then
|
||||
case Line[1] of
|
||||
'=': begin
|
||||
case StringCase(GetPart(['='], [','], Line, False, False),
|
||||
['thread-group-added'])
|
||||
of
|
||||
0: {ignore};
|
||||
else
|
||||
S := S + Line + LineEnding;
|
||||
end;
|
||||
end;
|
||||
else
|
||||
S := S + Line + LineEnding;
|
||||
end;
|
||||
else
|
||||
S := S + Line + LineEnding;
|
||||
end;
|
||||
Line := ReadLine;
|
||||
end;
|
||||
if S <> ''
|
||||
|
Loading…
Reference in New Issue
Block a user