From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21013 invoked by alias); 12 Mar 2007 16:45:56 -0000 Received: (qmail 21003 invoked by uid 22791); 12 Mar 2007 16:45:56 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Mar 2007 16:45:50 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 3ACD9215DE for ; Mon, 12 Mar 2007 17:45:48 +0100 (CET) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: Re: Enable CFI for PowerPC, try 3 References: <20070312161219.GA6778@caradoc.them.org> X-Yow: YOW! I can see 1987!! PRESIDENT FORD is doing the REMAKE of "PAGAN LOVE SONG"...he's playing ESTHER WILLIAMS!! Date: Mon, 12 Mar 2007 16:45:00 -0000 In-Reply-To: <20070312161219.GA6778@caradoc.them.org> (Daniel Jacobowitz's message of "Mon, 12 Mar 2007 12:12:19 -0400") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00124.txt.bz2 Daniel Jacobowitz writes: > @@ -2211,6 +2212,70 @@ e500_pseudo_register_read (struct gdbarc > gdbarch_register_name (gdbarch, reg_nr), reg_nr); > } > > +/* Translate a .eh_frame register to DWARF register, or adjust a > + .debug_frame register. */ > + > +static int > +rs6000_adjust_frame_regnum (struct gdbarch *gdbarch, int num, int eh_frame_p) > +{ Just a small nit: I'd move this function down after rs6000_stab_reg_to_regnum. The file has gained many new functions since my original patch, which caused the hunk to apply in an unfortunate place. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."