This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/6.0] fix aix inferior calls
Andrew Cagney <ac131313@redhat.com> writes:
> @@ -2948,8 +2948,10 @@
> /* PPC64 SYSV. */
> set_gdbarch_frame_red_zone_size (gdbarch, 288);
> else if (!sysv_abi && wordsize == 4)
> - /* PowerOpen / AIX 32 bit. */
> - set_gdbarch_frame_red_zone_size (gdbarch, 220);
> + /* PowerOpen / AIX 32 bit. The saved area or red zone, consists
Typo: s/$/ of/ ?
> + 19 4 byte GPRS + 18 8 byte FPRs giving a total of 220. Problem
> + is, 220 isn't frame (16 byte) aligned. Round it up to 224. */
> + set_gdbarch_frame_red_zone_size (gdbarch, 224);
> set_gdbarch_deprecated_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos);
> set_gdbarch_deprecated_push_return_address (gdbarch, ppc_push_return_address);
> set_gdbarch_believe_pcc_promotion (gdbarch, 1);
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."