mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 09:30:17 +02:00
* StabsFunctionRelative initialization hopefully fixed
git-svn-id: trunk@9810 -
This commit is contained in:
parent
894dc04966
commit
03de80785d
@ -1072,6 +1072,8 @@ begin
|
||||
e.isopen:=true;
|
||||
// cache filesize
|
||||
e.size:=filesize(e.f);
|
||||
|
||||
E.FunctionRelative := true;
|
||||
if ExeProcs.OpenProc<>nil then
|
||||
result:=ExeProcs.OpenProc(e);
|
||||
end;
|
||||
@ -1099,4 +1101,3 @@ end;
|
||||
|
||||
|
||||
end.
|
||||
|
@ -75,9 +75,6 @@ begin
|
||||
result:=false;
|
||||
if staberr then
|
||||
exit;
|
||||
{ GDB after 4.18 uses offset to function begin
|
||||
in text section but OS/2 version still uses 4.16 PM }
|
||||
E.FunctionRelative := true;
|
||||
if not OpenExeFile(e,paramstr(0)) then
|
||||
exit;
|
||||
StabsFunctionRelative := E.FunctionRelative;
|
||||
|
Loading…
Reference in New Issue
Block a user