mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-01 03:36:07 +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;
|
||||
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
|
||||
then begin
|
||||
Result := False;
|
||||
|
Loading…
Reference in New Issue
Block a user