From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22744 invoked by alias); 28 Sep 2012 19:03:32 -0000 Received: (qmail 22731 invoked by uid 22791); 28 Sep 2012 19:03:31 -0000 X-SWARE-Spam-Status: No, hits=-8.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Fri, 28 Sep 2012 19:03:26 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8SJ3NV8005825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Sep 2012 15:03:23 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q8SJ3Lsi004759; Fri, 28 Sep 2012 15:03:22 -0400 Message-ID: <5065F479.2090901@redhat.com> Date: Fri, 28 Sep 2012 19:03:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Edjunior Barbosa Machado CC: gdb-patches@sourceware.org, Nathan Miller , Jon Tollefson Subject: Re: [RFC] Prevent GDB from loading native libraries when debugging a cross-target corefile References: <1348813904-21180-1-git-send-email-emachado@linux.vnet.ibm.com> In-Reply-To: <1348813904-21180-1-git-send-email-emachado@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2012-09/txt/msg00692.txt.bz2 On 09/28/2012 07:31 AM, Edjunior Barbosa Machado wrote: > It might be worth mentioning that this behavior was modified by this patch from > April 2010: > http://sourceware.org/ml/gdb-patches/2010-04/msg00758.html That helps a lot, thanks. Indeed, I can't justify that original change. It looks like I plainly messed up and pasted too much -- the same code you're removing is duplicated a bit below, where it should. > Please consider the following patch as a fix for this issue. OK. Thanks! -- Pedro Alves