Re: About "STARTING_FRAME_OFFSET" definition

2010-03-24 Thread redriver jiang
Hi, Thanks! I also find the doc describing the "HARD_FRAME_POINTER_REGNUM" and "FRAME_POINTER_REGNUM" in "gcc internals", chapter "Registers That Address the Stack Frame". It is really "usual" way to handle this similar cases. redriver 2010/3/24 Richard Henderson : > On 03/23/2010 05:55 AM,

Re: About "STARTING_FRAME_OFFSET" definition

2010-03-23 Thread Richard Henderson
On 03/23/2010 05:55 AM, redriver jiang wrote: > Hi all, > > Can this "STARTING_FRAME_OFFSET" macro be defined to be a non-constant > value ( changes with the "current_function_args_size")? > > As the target process has "FP+offset" with postive "offset"( stack > grows upward, and parameters in sta