This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]