mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 18:17:18 +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
|
if R > 0
|
||||||
then begin
|
then begin
|
||||||
for n := 0 to Count do
|
for n := 0 to Count do
|
||||||
if (AHandles[n] <> 0)
|
if (AHandles[n] >= 0)
|
||||||
and (FpFD_ISSET(AHandles[n],FDSWait)=1)
|
and (FpFD_ISSET(AHandles[n],FDSWait)=1)
|
||||||
then begin
|
then begin
|
||||||
Result := Result or 1 shl n;
|
Result := Result or 1 shl n;
|
||||||
|
Loading…
Reference in New Issue
Block a user