From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1088 invoked by alias); 18 Aug 2003 20:13:41 -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 1068 invoked from network); 18 Aug 2003 20:13:41 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 18 Aug 2003 20:13:41 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 7D2712B7F; Mon, 18 Aug 2003 16:13:35 -0400 (EDT) Message-ID: <3F41336F.1060300@redhat.com> Date: Mon, 18 Aug 2003 20:13:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [patch, rfa:doco, rfa:ppc] Generic red zone arch method References: <3F3E80F0.2070607@redhat.com> <8011-Mon18Aug2003130356+0300-eliz@elta.co.il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00307.txt.bz2 > Date: Sat, 16 Aug 2003 15:07:28 -0400 >> From: Andrew Cagney >> >> Eli, doco ok? > > > Yes, except that > > >> +@kindex red zone > > > Should be a @cindex, I think ("red zone" is not a key nor a function). Ok. With that tweak, I've checked this in to trunk and branch. > Index: ChangeLog > 2003-08-16 Andrew Cagney > > * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. > * gdbarch.h, gdbarch.c: Re-generate. > * infcall.c (call_function_by_hand): Adjust the SP by > frame_red_zone_size before allocating any stack space. > * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". > * x86-64-tdep.c (x86_64_frame_align): New function. > (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". > > * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. > Remove code adjusting SP so that it skips over the Red Zone. > Andrew