mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 22:49:37 +02:00
* Fixed removing stabs for unused functions. It fixes debugging problems.
git-svn-id: trunk@10963 -
This commit is contained in:
parent
26efe0df1d
commit
403ce8c2c1
@ -2218,8 +2218,9 @@ implementation
|
||||
skipstab:=true;
|
||||
if skipfun then
|
||||
begin
|
||||
skipstab:=hstab.ntype in [N_TextLine,N_RSYM,N_LSYM,N_tsym,N_LBRAC,N_RBRAC,N_IncludeFile];
|
||||
skipfun:=skipstab;
|
||||
{ Skip all stabs for function body until N_RBRAC }
|
||||
skipfun:=hstab.ntype<>N_RBRAC;
|
||||
skipstab:=true;
|
||||
end;
|
||||
if not skipstab then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user