From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12095 invoked by alias); 5 Oct 2010 20:56:24 -0000 Received: (qmail 11938 invoked by uid 22791); 5 Oct 2010 20:56:23 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Oct 2010 20:56:18 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o95Ku2O5014328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 5 Oct 2010 16:56:02 -0400 Received: from host1.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o95Ktx49005293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Oct 2010 16:56:01 -0400 Received: from host1.dyn.jankratochvil.net (localhost [127.0.0.1]) by host1.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o95KtxAj030500; Tue, 5 Oct 2010 22:55:59 +0200 Received: (from jkratoch@localhost) by host1.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o95KtwF2030499; Tue, 5 Oct 2010 22:55:58 +0200 Date: Tue, 05 Oct 2010 20:56:00 -0000 From: Jan Kratochvil To: Joel Brobecker , Tom Tromey Cc: gdb-patches@sourceware.org, Tristan Gingold Subject: [7.2.x-checkin] Re: [patch] Fix regression on prelinked executables Message-ID: <20101005205558.GA14783@host1.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100729163648.GA13267@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2010-10/txt/msg00056.txt.bz2 On Thu, 29 Jul 2010 18:36:48 +0200, Joel Brobecker wrote: > I'm not sure about putting it on the 7.2 branch, however. Given that > this can directly affect Darwin, I'd rather give this patch an observation > period and potentially put it in 7.2.1. On Fri, 30 Jul 2010 00:14:23 +0200, Tom Tromey wrote: > >>>>> "Joel" == Joel Brobecker writes: > Joel> Regarding the patch - if a second GM thinks it's safe for 7.2, then > Joel> that's also good enough for me. > > I didn't look that closely :) http://sourceware.org/ml/gdb-cvs/2010-10/msg00028.html Branch: gdb_7_2-branch gdb/ * symfile.c (addr_section_name): New function. (addrs_section_compar): Use it. (addr_info_make_relative): Use it. Move variable sect_name into a more inner block. Make ".dynbss" and ".sdynbss" checks more strict. gdb/testsuite/ * gdb.base/prelink-lib.c (copyreloc): New initialized variable. * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables. (main): Use copyreloc. * gdb.base/prelink.exp (split debug of executable) (.dynbss vs. .bss address shift): New tests. Checked-in for 7.2.1, if any. Thanks, Jan