[rfa:ppc] Cleanup SVR4 push dummy call
Andrew Cagney
ac131313@redhat.com
Fri Sep 12 14:47:00 GMT 2003
Hello,
This patch rewrites ppc_svr4_push_dummy_call so that it implements the
two-pass push-arguments algorithm using a "for" loop.
The simplification identified and fixed the bugs:
- Altivec registers on the stack weren't being 16 byte aligned
- Floats weren't being converted to doubles before being stored in
register/memory ("gdb.base/callfuncs.exp: p t_float_values2" now passes).
Ok?
Andrew
PS: I intend moving align_{up,down} to utils.c but that is separate.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030912/8d6b2f6d/attachment.ksh>
More information about the Gdb-patches
mailing list