From e514b12f7a2ad6ab07fd2795e0bab9d9c9f3513d Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 27 Apr 2003 10:03:18 +0000 Subject: [PATCH] * fixed stabs generation for local variables on systems where they have a positive offset relative to the stack/framepointer --- compiler/symsym.pas | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/compiler/symsym.pas b/compiler/symsym.pas index 2057fc7ab6..ec280b7ded 100644 --- a/compiler/symsym.pas +++ b/compiler/symsym.pas @@ -379,7 +379,7 @@ implementation { module } fmodule, { codegen } - paramgr,cgbase,cresstr + tgobj,paramgr,cgbase,cresstr ; {**************************************************************************** @@ -1824,7 +1824,7 @@ implementation tostr(N_LCSYM)+',0,'+tostr(fileinfo.line)+','+mangledname) else stabstring := strpnew('"'+name+':'+st+'",'+ - tostr(N_LSYM)+',0,'+tostr(fileinfo.line)+',-'+tostr(address-owner.address_fixup)) + tostr(N_LSYM)+',0,'+tostr(fileinfo.line)+','+tostr(tg.direction*address+owner.address_fixup)) else stabstring := inherited stabstring; end; @@ -2557,7 +2557,11 @@ implementation end. { $Log$ - Revision 1.98 2003-04-27 07:29:51 peter + Revision 1.99 2003-04-27 10:03:18 jonas + * fixed stabs generation for local variables on systems where they have + a positive offset relative to the stack/framepointer + + Revision 1.98 2003/04/27 07:29:51 peter * aktprocdef cleanup, aktprocdef is now always nil when parsing a new procdef declaration * aktprocsym removed