From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14610 invoked by alias); 19 Jul 2013 00:27:45 -0000 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 Received: (qmail 14599 invoked by uid 89); 19 Jul 2013 00:27:44 -0000 X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1 Received: from Unknown (HELO mail-yh0-f74.google.com) (209.85.213.74) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 19 Jul 2013 00:27:43 +0000 Received: by mail-yh0-f74.google.com with SMTP id f73so1506yha.3 for ; Thu, 18 Jul 2013 17:27:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:message-id:date:mime-version:content-type :content-transfer-encoding:to:cc:subject:in-reply-to:references :x-mailer:x-gm-message-state; bh=N0Lvbq8fF6mp2dzz/NVaLS7vOFCo40wgTPhrvekeDnE=; b=CIzA1pY2DUYcc1pfozKf2ICqu11owXVExbWTRvyH7BbBecimEnW3+XKR4hrot8dKww e0zk4yvYi9vLrEULjsoUMK90qlL/+lzd97nOH47Bjh1NGcbKo3TTtQwLXPSkNwAHeXwK Hxp+7jz6t8+hr9W/QW/1Hl9ZAdXfXZMZVNM9oLu41eGfBUHahvAl2DRvM6lLv792SEgk TXIEPj1V8xWf96MrjAJrVTrl4ZcJPgup4B/3+YioADKD1dJn2Jl9PIORaJpiqVnP0Oe7 AliMhZyK3wHRbvJ/Ryf2t4Tc/ToufZWVDykFNVg8ryEUW10Sj84plW20flMI7T5xBAiy wCrQ== X-Received: by 10.236.92.7 with SMTP id i7mr7668762yhf.52.1374193656271; Thu, 18 Jul 2013 17:27:36 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id b80si5570645yhi.2.2013.07.18.17.27.36 for (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Thu, 18 Jul 2013 17:27:36 -0700 (PDT) Received: from ruffy.mtv.corp.google.com (ruffy.mtv.corp.google.com [172.17.128.44]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 928B131C111; Thu, 18 Jul 2013 17:27:35 -0700 (PDT) From: Doug Evans Message-ID: <20968.34807.34944.820496@ruffy.mtv.corp.google.com> Date: Fri, 19 Jul 2013 00:27:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: jan.kratochvil@redhat.com, tromey@redhat.com Cc: gdb-patches Subject: Re: Runtime regression for gdb.base/reread.exp & co. [Re: [RFA] Remove target_section.bfd] In-Reply-To: <20130718163310.GA14833@host2.jankratochvil.net> References: <20130718105435.GA26949@host2.jankratochvil.net> <20130718163310.GA14833@host2.jankratochvil.net> X-Gm-Message-State: ALoCoQllA8qA3M7DC6MEzr262htmpfJekrW15nOOe2XOhpFVhNQLMuSz9m0V+d0HnYvk1BzUHvqgVaW2C6KP8mgsyIXi6bm0gjf27HobzUtvpavmyeo8dU2H2ooeBbrv6AAMP+iILDVHVfP2XaTIh9f6iRVJy4uF6+i5kmjs13j2x+iuDjhpIZlGEn/lGoaQAbPJ0NSE6JqhHvKhTJr1a8V8lqAatWoBbA== X-SW-Source: 2013-07/txt/msg00464.txt.bz2 I wrote: > So how about this patch? > Regression tested on amd64-linux with --enable-libmcheck, > and verified it fixes the reread.exp regression. > > 2013-07-18 Doug Evans > > * exec.h (remove_target_sections): Delete arg abfd. > * exec.c (remove_target_sections): Delete arg abfd. > (exec_close): Update call to remove_target_sections. > * solib.c (update_solib_list): Ditto. > (reload_shared_libraries_1): Ditto. > (clear_solib): Ditto, and unconditionally call remove_target_sections. Aaahhh. This time with the right ChangeLog entry. 2013-07-18 Doug Evans * exec.h (remove_target_sections): Delete arg abfd. * exec.c (exec_close): Update call to remove_target_sections. (remove_target_sections): Delete arg abfd. * solib.c (update_solib_list): Ditto. (reload_shared_libraries_1): Ditto. (clear_solib): Ditto, and unconditionally call remove_target_sections. * target.h (struct target_section): Rename key to owner. All uses updated.