* StabsFunctionRelative initialization hopefully fixed

git-svn-id: trunk@9810 -
This commit is contained in:
Tomas Hajny 2008-01-20 12:12:01 +00:00
parent 894dc04966
commit 03de80785d
2 changed files with 2 additions and 4 deletions

View File

@ -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.


View File

@ -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;