From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1219 invoked by alias); 8 Aug 2009 16:39:02 -0000 Received: (qmail 1208 invoked by uid 22791); 8 Aug 2009 16:39:01 -0000 X-SWARE-Spam-Status: No, hits=-2.3 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; Sat, 08 Aug 2009 16:38:55 +0000 Received: (qmail 26906 invoked from network); 8 Aug 2009 16:38:51 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Aug 2009 16:38:51 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [patch] Set bfd field in target_section Date: Sat, 08 Aug 2009 16:54:00 -0000 User-Agent: KMail/1.9.10 Cc: Aleksandar Ristovski References: <200907281657.29337.pedro@codesourcery.com> <4A6F56C6.6090801@qnx.com> In-Reply-To: <4A6F56C6.6090801@qnx.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908081738.53580.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-08/txt/msg00129.txt.bz2 On Tuesday 28 July 2009 20:51:34, Aleksandar Ristovski wrote: > Pedro Alves wrote: > > There used to be an extra structure in bfd_target.c to hold > > the sections and the bfd, which didn't look necessary when I > > reimplemented bfd-target.c on top of exec.c's functions, but > > it is clear now that we need it anyway. Here's a patch that > > brings something like that back. > > (actually, there never was such a thing, I must have dreamed about it. :-) The bfd used to be stored directly in target_ops->to_data, and once upon a time, there used to be target_ops->to_sections|target_ops->to_sections_end pointers.) > > Could you try it? Thanks. > > > I tried it, it works. Thanks, I've applied it. -- Pedro Alves