From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26041 invoked by alias); 4 Jun 2013 21:21:39 -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 25993 invoked by uid 89); 4 Jun 2013 21:21:38 -0000 X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-ob0-f179.google.com (HELO mail-ob0-f179.google.com) (209.85.214.179) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 04 Jun 2013 21:21:38 +0000 Received: by mail-ob0-f179.google.com with SMTP id xk17so1314340obc.38 for ; Tue, 04 Jun 2013 14:21:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=A3pyceJ1XrjkRB7w0YLtVduglDsQT83Dd9ea/poMYis=; b=EpjOUBVR9cf1+ljlD/j78/OPlixmt7pCitj/MwzLOOtirpDlnomzxOVgmk+NsjpJGW nqBrZgt20e6+it63u7ggBcRY7KHYFBgLGml1qOPmW6WKpxU4twM1THnlOYGksdY3ReTD j99L1NmsJVF/0ZXWMA0IXeSNMI5Dc+zI5X578PDgUnB98FuKbEE7+Vo5mFkTCPlSjMLO BHdKb5dGqxfQ1BEGMNhpKRckYZgewcwtlJz4sL5w/LoaDhbEjcI25pW7R7ht2PmYhqj5 LCFMLNV0Bp6jEqXyvtKF6u+jodGYbs8o8Ty/W3AdJrqTzPyTzATFkIxVslIyd0xjYo7L /t7Q== MIME-Version: 1.0 X-Received: by 10.182.74.194 with SMTP id w2mr11994480obv.40.1370380896753; Tue, 04 Jun 2013 14:21:36 -0700 (PDT) Received: by 10.182.22.49 with HTTP; Tue, 4 Jun 2013 14:21:36 -0700 (PDT) In-Reply-To: <20130604205700.GA10677@host2.jankratochvil.net> References: <20130604180722.GA23588@host2.jankratochvil.net> <20130604202301.GA8999@host2.jankratochvil.net> <20130604205700.GA10677@host2.jankratochvil.net> Date: Tue, 04 Jun 2013 21:21:00 -0000 Message-ID: Subject: Re: [PATCH] Ignore the first entry returned by svr4_current_sos_via_xfer_libraries for dynamically linked programs From: Ben Cheng To: Jan Kratochvil Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQl1cuZqFlz7dPuRU9y/bpZUsWYo7qHPCWtXlyk2k9vKm2dQZ0rfvv4A1Iyg24jK+QkvyznR5gtFvlIl+EHIiMYmw6vl5y019sYYMLgdj8CK4w/+7GGNFSPOcy9iEqMiUQ+I2seTEdSiwNyAgJqsgh0bRS+PT/5TKSs5OoxzWV78TtCWx6Y1T3ufvKf55Zt6I3sitFTr+eRuxQbA38M+ztkJVRctmg== X-SW-Source: 2013-06/txt/msg00060.txt.bz2 Hi Jan, If you don't mind I'll let you take care of it. :) Thanks, -Ben On Tue, Jun 4, 2013 at 1:57 PM, Jan Kratochvil wrote: > On Tue, 04 Jun 2013 22:45:22 +0200, Ben Cheng wrote: >> And it looks like reversing the order of checks for lm_prev and >> libname in gdbserver/linux_qxfer_libraries_svr4:linux_qxfer_libraries_svr4() >> is a possible fix for this problem. > > I agree. > > > Jan