mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 06:12:38 +02:00
Debugger GDBMI: Fix checking for handle to gdb (unix)
git-svn-id: trunk@48437 -
This commit is contained in:
parent
1a4529c1d8
commit
ed83f63c99
@ -198,7 +198,7 @@ begin
|
||||
if R > 0
|
||||
then begin
|
||||
for n := 0 to Count do
|
||||
if (AHandles[n] <> 0)
|
||||
if (AHandles[n] >= 0)
|
||||
and (FpFD_ISSET(AHandles[n],FDSWait)=1)
|
||||
then begin
|
||||
Result := Result or 1 shl n;
|
||||
|
Loading…
Reference in New Issue
Block a user