From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5495 invoked by alias); 27 Jun 2002 18:32:44 -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 5471 invoked from network); 27 Jun 2002 18:32:41 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 27 Jun 2002 18:32:41 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 56F4D3E98; Thu, 27 Jun 2002 14:32:40 -0400 (EDT) Message-ID: <3D1B5A48.7040500@ges.redhat.com> Date: Thu, 27 Jun 2002 11:32:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020613 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfa:ppc] Use generic_unwind_get_saved_register References: <3D1B5585.9020700@ges.redhat.com> Content-Type: multipart/mixed; boundary="------------010405040904090401000506" X-SW-Source: 2002-06/txt/msg00559.txt.bz2 This is a multi-part message in MIME format. --------------010405040904090401000506 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 171 > Hello, > > This patch switches the PPC target so that it uses the frame unwind mechanism. I've been meaning to submit it for ages. > > Ok? > Andrew > [and a patch] --------------010405040904090401000506 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 963 2002-06-27 Andrew Cagney * rs6000-tdep.c (rs6000_gdbarch_init): Use generic_unwind_get_saved_register. Index: rs6000-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v retrieving revision 1.68 diff -u -r1.68 rs6000-tdep.c --- rs6000-tdep.c 17 Jun 2002 23:32:33 -0000 1.68 +++ rs6000-tdep.c 27 Jun 2002 18:07:05 -0000 @@ -2606,7 +2606,7 @@ set_gdbarch_pc_in_call_dummy (gdbarch, generic_pc_in_call_dummy); set_gdbarch_call_dummy_p (gdbarch, 1); set_gdbarch_call_dummy_stack_adjust_p (gdbarch, 0); - set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register); + set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register); set_gdbarch_fix_call_dummy (gdbarch, rs6000_fix_call_dummy); set_gdbarch_push_dummy_frame (gdbarch, generic_push_dummy_frame); set_gdbarch_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos); --------------010405040904090401000506--