[fpc-devel] question about parameter loading code

Florian Klämpfl florian at freepascal.org
Sun Jun 10 18:26:40 CEST 2012


Am 10.06.2012 08:15, schrieb Fuxin Zhang:
> Dear sirs,
> 
>   When trying to generate code debuggable by GDB, I meet a problem:
> 
> * it seems mips C code will expect a frame pointer = sp after stack
> adjustment
> * but in cpupara.pas, when we create para info, we don't know yet the
> whole stack size, thus the reference offset cannot be set correctly
> 

This is exactly the point where I'am already stuck with MIPS for several
days/weeks. I'am still no sure what's the best solution ...




More information about the fpc-devel mailing list