From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24277 invoked by alias); 17 Mar 2009 18:05:51 -0000 Received: (qmail 24255 invoked by uid 22791); 17 Mar 2009 18:05:48 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Mar 2009 18:05:42 +0000 Received: (qmail 7970 invoked from network); 17 Mar 2009 18:04:40 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 Mar 2009 18:04:40 -0000 From: Pedro Alves To: Joel Brobecker Subject: Re: [RFC] How to get target_ops from to_kill method? Date: Tue, 17 Mar 2009 18:28:00 -0000 User-Agent: KMail/1.9.10 Cc: gdb-patches@sourceware.org, Tristan Gingold References: <20090316162247.GE9576@adacore.com> <200903162252.26346.pedro@codesourcery.com> <20090317174625.GC31979@adacore.com> In-Reply-To: <20090317174625.GC31979@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903171805.41002.pedro@codesourcery.com> 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: 2009-03/txt/msg00317.txt.bz2 On Tuesday 17 March 2009 17:46:25, Joel Brobecker wrote: > Here is what I propose to check in. Do you think I should remove > the INHERIT for the to_kill method as well? > Yes. You're not accessing the inherited or de_faulted current_target.to_kill anymore. You always go through the non-inherited current_target.beneath->to_kill, so, you can remove the INHERIT, and the de_fault for to_kill. -- Pedro Alves