mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:19:47 +02:00
debugger: fix compilation on mac
git-svn-id: trunk@43289 -
This commit is contained in:
parent
f9cf79728d
commit
74bd6a45c6
@ -1643,10 +1643,10 @@ begin
|
||||
Result := ExecuteCommand('-file-exec-and-symbols %s', [S], R);
|
||||
if not Result then exit;
|
||||
{$IFDEF darwin}
|
||||
if (R.State = dsError) and (FFileName <> '')
|
||||
if (R.State = dsError) and (FTheDebugger.FileName <> '')
|
||||
then begin
|
||||
FFileName := FFileName + '/Contents/MacOS/' + ExtractFileNameOnly(FTheDebugger.FileName);
|
||||
S := FTheDebugger.ConvertToGDBPath(UTF8ToSys(FFileName), cgptExeName);
|
||||
S := FTheDebugger.FileName + '/Contents/MacOS/' + ExtractFileNameOnly(FTheDebugger.FileName);
|
||||
S := FTheDebugger.ConvertToGDBPath(UTF8ToSys(S), cgptExeName);
|
||||
Result := ExecuteCommand('-file-exec-and-symbols %s', [S], R);
|
||||
if not Result then exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user