From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32080 invoked by alias); 30 Sep 2003 21:13:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32065 invoked from network); 30 Sep 2003 21:13:16 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 30 Sep 2003 21:13:16 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E29072B89; Tue, 30 Sep 2003 17:13:15 -0400 (EDT) Message-ID: <3F79F1EB.1020902@redhat.com> Date: Tue, 30 Sep 2003 21:13:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com, peter.schauer@regent.e-technik.tu-muenchen.de Subject: Re: [rfa/6.0] fix aix inferior calls References: <3F789078.3000100@redhat.com> <1030929202202.ZM15766@localhost.localdomain> <3F789727.3080704@redhat.com> <1030930003126.ZM16691@localhost.localdomain> Content-Type: multipart/mixed; boundary="------------070203060300030201060702" X-SW-Source: 2003-09/txt/msg00665.txt.bz2 This is a multi-part message in MIME format. --------------070203060300030201060702 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 251 > On Sep 29, 4:33pm, Andrew Cagney wrote: > > >> * rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone >> to 224, not 220. > > > Okay, so long as you incorporate Andreas' suggested comment fix. This is what was committed. Andrew --------------070203060300030201060702 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1162 2003-09-29 Andrew Cagney * rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone to 224, not 220. Index: rs6000-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v retrieving revision 1.145.2.2 diff -u -r1.145.2.2 rs6000-tdep.c --- rs6000-tdep.c 18 Aug 2003 20:12:31 -0000 1.145.2.2 +++ rs6000-tdep.c 30 Sep 2003 21:09:02 -0000 @@ -2948,8 +2948,11 @@ /* 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 of + 19 4 byte GPRS + 18 8 byte FPRs giving a total of 220 bytes. + 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); --------------070203060300030201060702--