From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12313 invoked by alias); 15 Mar 2004 18:28:36 -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 12292 invoked from network); 15 Mar 2004 18:28:34 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 15 Mar 2004 18:28:34 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id EA18B2B92; Mon, 15 Mar 2004 13:28:33 -0500 (EST) Message-ID: <4055F5D1.1020306@gnu.org> Date: Mon, 15 Mar 2004 18:28:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Kevin Buettner , peter.schauer@regent.e-technik.tu-muenchen.de Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa:rs6000] Framefy rs6000 (and GNU/Linux PPC) References: <40428F53.5080502@gnu.org> <20040302160100.573bbadc@saguaro> <4045FB6B.9080700@gnu.org> In-Reply-To: <4045FB6B.9080700@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03.o/txt/msg00318.txt > This will leave AIX. At present it is handled with the blatant hack: > > + default: > + set_gdbarch_deprecated_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos); > + set_gdbarch_believe_pcc_promotion (gdbarch, 1); > + set_gdbarch_deprecated_pop_frame (gdbarch, rs6000_pop_frame); > + set_gdbarch_deprecated_frame_args_address (gdbarch, rs6000_frame_args_address); > + set_gdbarch_deprecated_frame_locals_address (gdbarch, rs6000_frame_args_address); > + set_gdbarch_deprecated_saved_pc_after_call (gdbarch, rs6000_saved_pc_after_call); > + set_gdbarch_deprecated_frameless_function_invocation (gdbarch, rs6000_frameless_function_invocation); > + set_gdbarch_deprecated_frame_chain (gdbarch, rs6000_frame_chain); > + set_gdbarch_deprecated_frame_saved_pc (gdbarch, rs6000_frame_saved_pc); > + set_gdbarch_deprecated_frame_init_saved_regs (gdbarch, rs6000_frame_init_saved_regs); > + set_gdbarch_deprecated_init_extra_frame_info (gdbarch, rs6000_init_extra_frame_info); > + set_gdbarch_deprecated_init_frame_pc_first (gdbarch, rs6000_init_frame_pc_first); > > while that might be ok for the 6.1 branch, I don't think it is ok for the mainline. We've already waited too long for someone to frameify the PPC :-( Do you or Peter have timely plans for fixing that part of the code? Kevin, Peter? Andrew From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12313 invoked by alias); 15 Mar 2004 18:28:36 -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 12292 invoked from network); 15 Mar 2004 18:28:34 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 15 Mar 2004 18:28:34 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id EA18B2B92; Mon, 15 Mar 2004 13:28:33 -0500 (EST) Message-ID: <4055F5D1.1020306@gnu.org> Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Kevin Buettner , peter.schauer@regent.e-technik.tu-muenchen.de Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa:rs6000] Framefy rs6000 (and GNU/Linux PPC) References: <40428F53.5080502@gnu.org> <20040302160100.573bbadc@saguaro> <4045FB6B.9080700@gnu.org> In-Reply-To: <4045FB6B.9080700@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00318.txt.bz2 Message-ID: <20040319000900.z7dbj6F72uNhaj5t-8FTD594un4ZMqTsiTyDKXhUcmc@z> > This will leave AIX. At present it is handled with the blatant hack: > > + default: > + set_gdbarch_deprecated_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos); > + set_gdbarch_believe_pcc_promotion (gdbarch, 1); > + set_gdbarch_deprecated_pop_frame (gdbarch, rs6000_pop_frame); > + set_gdbarch_deprecated_frame_args_address (gdbarch, rs6000_frame_args_address); > + set_gdbarch_deprecated_frame_locals_address (gdbarch, rs6000_frame_args_address); > + set_gdbarch_deprecated_saved_pc_after_call (gdbarch, rs6000_saved_pc_after_call); > + set_gdbarch_deprecated_frameless_function_invocation (gdbarch, rs6000_frameless_function_invocation); > + set_gdbarch_deprecated_frame_chain (gdbarch, rs6000_frame_chain); > + set_gdbarch_deprecated_frame_saved_pc (gdbarch, rs6000_frame_saved_pc); > + set_gdbarch_deprecated_frame_init_saved_regs (gdbarch, rs6000_frame_init_saved_regs); > + set_gdbarch_deprecated_init_extra_frame_info (gdbarch, rs6000_init_extra_frame_info); > + set_gdbarch_deprecated_init_frame_pc_first (gdbarch, rs6000_init_frame_pc_first); > > while that might be ok for the 6.1 branch, I don't think it is ok for the mainline. We've already waited too long for someone to frameify the PPC :-( Do you or Peter have timely plans for fixing that part of the code? Kevin, Peter? Andrew