mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-17 17:39:40 +02:00
FpDebug: Fix upper/lower spelling of Contents/MacOS
git-svn-id: trunk@61066 -
This commit is contained in:
parent
bce16b1033
commit
157ea70bdb
@ -202,7 +202,7 @@ begin
|
|||||||
{$IFDEF MacOS}
|
{$IFDEF MacOS}
|
||||||
if (RightStr(AFileName,4) = '.app') then begin
|
if (RightStr(AFileName,4) = '.app') then begin
|
||||||
s := ExtractFileName(AFileName);
|
s := ExtractFileName(AFileName);
|
||||||
s := AFileName + PathDelim + 'Contents' + PathDelim + 'MacOs' + PathDelim + copy(s, 1, Length(s) - 4);
|
s := AFileName + PathDelim + 'Contents' + PathDelim + 'MacOS' + PathDelim + copy(s, 1, Length(s) - 4);
|
||||||
if (FileExists(s)) then AFileName := s
|
if (FileExists(s)) then AFileName := s
|
||||||
end;
|
end;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
@ -353,11 +353,11 @@ begin
|
|||||||
// those .o files a dSYM-bundle could be used, which could be generated
|
// those .o files a dSYM-bundle could be used, which could be generated
|
||||||
// with dsymutil.
|
// with dsymutil.
|
||||||
|
|
||||||
// PLoader.FileName in Contents/MacOs
|
// PLoader.FileName in Contents/MacOS
|
||||||
ALoader:=nil;
|
ALoader:=nil;
|
||||||
|
|
||||||
fname := PLoader.FileName;
|
fname := PLoader.FileName;
|
||||||
i := pos('/Contents/MacOs', fname);
|
i := pos('/Contents/MacOS', fname);
|
||||||
if i > 0 then delete(fname, i, Length(fname));
|
if i > 0 then delete(fname, i, Length(fname));
|
||||||
dSYMFilename:=ChangeFileExt(PLoader.FileName, '.dSYM');
|
dSYMFilename:=ChangeFileExt(PLoader.FileName, '.dSYM');
|
||||||
dSYMFilename:=dSYMFilename+'/Contents/Resources/DWARF/'+ExtractFileName(fname); // TDbgProcess.Name
|
dSYMFilename:=dSYMFilename+'/Contents/Resources/DWARF/'+ExtractFileName(fname); // TDbgProcess.Name
|
||||||
|
Loading…
Reference in New Issue
Block a user