> On Thu, Jul 14, 2005 at 10:27:01AM +0200, Peter Vreman wrote:
> > > Tom Verhoeff a ?crit :
> > >
> > > The point is that there is no stack trace with line numbers on the
> > > (obviously correct) exception, in spite of the option -gl (even when
> > > explicitly using SysUtils).
> > 
> > The problem is that the framepointer register EBP is 0 in the sigcontext.
> > We can't solve this.
> 
> So, where should a solution come from?  Where in the software/hardware
> chain would a change be needed to make it work properly?

For *nix: prt/crt0, there is a xorl %ebp,%ebp  But there might be code
that relies on this (main program's parent's frame being nil)

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to