From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19044 invoked by alias); 28 Sep 2012 20:31:12 -0000 Received: (qmail 19036 invoked by uid 22791); 28 Sep 2012 20:31:12 -0000 X-SWARE-Spam-Status: No, hits=-8.7 required=5.0 tests=BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e24smtp05.br.ibm.com (HELO e24smtp05.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 28 Sep 2012 20:31:05 +0000 Received: from /spool/local by e24smtp05.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 28 Sep 2012 17:31:03 -0300 Received: from d24dlp01.br.ibm.com (9.18.248.204) by e24smtp05.br.ibm.com (10.172.0.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 28 Sep 2012 17:31:00 -0300 Received: from d24relay01.br.ibm.com (d24relay01.br.ibm.com [9.8.31.16]) by d24dlp01.br.ibm.com (Postfix) with ESMTP id CE0C83520022 for ; Fri, 28 Sep 2012 16:30:59 -0400 (EDT) Received: from d24av03.br.ibm.com (d24av03.br.ibm.com [9.8.31.95]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q8SKUoGL4493550 for ; Fri, 28 Sep 2012 17:30:50 -0300 Received: from d24av03.br.ibm.com (loopback [127.0.0.1]) by d24av03.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q8SIVKVj008730 for ; Fri, 28 Sep 2012 15:31:20 -0300 Received: from [9.18.235.63] (grandaddy.br.ibm.com [9.18.235.63]) by d24av03.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q8SIVJvR008669; Fri, 28 Sep 2012 15:31:19 -0300 Message-ID: <50660902.8070205@linux.vnet.ibm.com> Date: Fri, 28 Sep 2012 20:31:00 -0000 From: Edjunior Barbosa Machado User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: Pedro Alves 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> <5065F479.2090901@redhat.com> In-Reply-To: <5065F479.2090901@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12092820-2362-0000-0000-0000088DB48A 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: 2012-09/txt/msg00699.txt.bz2 On 09/28/2012 04:03 PM, Pedro Alves wrote: > 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! > Thank you Pedro for the quick reply. And thanks Nathan for pointing out the fix for this issue. Checked in: http://sourceware.org/ml/gdb-cvs/2012-09/msg00175.html Thanks, -- Edjunior Barbosa Machado IBM Linux Technology Center