mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-04 16:36:39 +02:00
DBG: pid with gdb7.1 on Mac 32 bit
git-svn-id: trunk@28617 -
This commit is contained in:
parent
4e1a941852
commit
6cee875ace
@ -3049,6 +3049,15 @@ begin
|
|||||||
List.Free;
|
List.Free;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
// apple / MacPort 7.1 / 32 bit dwarf
|
||||||
|
if (TargetInfo^.TargetPID = 0)
|
||||||
|
and ExecuteCommand('info threads', [], R, [cfCheckState])
|
||||||
|
and (R.State <> dsError)
|
||||||
|
then begin
|
||||||
|
TargetPIDPart := GetPart(['of process '], [' '], R.Values, True);
|
||||||
|
TargetInfo^.TargetPID := StrToIntDef(TargetPIDPart, 0);
|
||||||
|
end;
|
||||||
|
|
||||||
if TargetInfo^.TargetPID = 0
|
if TargetInfo^.TargetPID = 0
|
||||||
then begin
|
then begin
|
||||||
Result := False;
|
Result := False;
|
||||||
|
Loading…
Reference in New Issue
Block a user