Re: [patch, rfa:doco, rfa:ppc] Generic red zone arch method

Andrew Cagney
2003-08-16T19:32:49Z

> On Sat, Aug 16, 2003 at 03:07:28PM -0400, Andrew Cagney wrote:
>
>> Hello,
>>
>> Ref: Skip the "red zone" on AMD64
>> http://sources.redhat.com/ml/gdb-patches/2003-08/msg00092.html
>>
>> The attached implements the suggested fix in that thread. For x86-64,
>> it gives the same results as the original change (need more test cases).
>>
>> Eli, doco ok?
>>
>> Kevin, for PPC64 and AIX I pulled the numbers from ABI doco. It isn't
>> yet tested. For PPC64 I've too many other failures for results to be
>> meaningful, and for AIX probably won't happen :-(.
>>
>> The remaining bits (framework and x86-64) I'll commit in a few days.
>> Andrew
>
>
> I'm sure there's a reason this won't work but... is gdbarch_frame_align
> called from anywhere else, i.e. that should not include the red zone?
> Why isn't skipping the red zone there sufficient?

Please look in infcall.c at how frame_align is used :-/

Andrew