From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9831 invoked by alias); 23 Jun 2015 08:44:43 -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 120584 invoked by uid 89); 23 Jun 2015 08:42:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 23 Jun 2015 08:42:30 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 783B18E51C; Tue, 23 Jun 2015 08:42:29 +0000 (UTC) Received: from blade.nx (ovpn-116-95.ams2.redhat.com [10.36.116.95]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5N8gS0H001426; Tue, 23 Jun 2015 04:42:29 -0400 Received: by blade.nx (Postfix, from userid 1000) id D7BB52642A7; Tue, 23 Jun 2015 09:42:27 +0100 (BST) Date: Tue, 23 Jun 2015 08:44:00 -0000 From: Gary Benson To: gdb-patches@sourceware.org Cc: =?iso-8859-1?Q?C=E9dric?= Buissart Subject: [PING][PATCH 0/5] Separate debugfile improvements Message-ID: <20150623084227.GB16976@blade.nx> References: <1434447768-17328-1-git-send-email-gbenson@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434447768-17328-1-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00460.txt.bz2 Ping: https://sourceware.org/ml/gdb-patches/2015-06/msg00338.html It would be nice to get this in for 7.10. Gary Benson wrote: > Hi all, > > This series makes a number of improvements to the code that locates > separated debuginfo. This series (patch 4 specifically) goes really > nicely with the remote/container improvements I made this past few > months, and it'd be really nice to get this into 7.10. > > - Patch 1 pulls filename building (including buffer allocation) out of > find_separate_debug_file into a new function, build_debug_file_name. > This simplifies find_separate_debug_file ready for the other > patches. The new code avoids generating paths with repeated > separators, but operation is otherwise unchanged. > > - Patch 2 alters find_separate_debug_file's caller to supply all paths > without trailing separators, which patch 1 of this series made > unnecessary. This allows paths to be compared more simply. > > - Patch 3 changes how find_separate_debug_file's CANON_DIR argument is > handled. The new code avoids looking in CANON_DIR if it is the same > as DIR, but operation is otherwise unchanged. > > - Patch 4 updates find_separate_debug_file to handle filenames > prefixed with "target:". This allows GDB to locate and access > separated debuginfo from remote targets and from inferiors in > containers. > > - Patch 5 causes GDB to look for debug files in gdb_sysroot in > addition to the other searched locations. This allows for easier > analysis of core files from foreign machines. > > Built and regtested on RHEL 6.6 x86_64. > > Ok to commit? > > Thanks, > Gary > > -- > http://gbenson.net/