From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4877 invoked by alias); 2 Dec 2013 21:26:17 -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 4864 invoked by uid 89); 2 Dec 2013 21:26:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Dec 2013 21:26:15 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rB2LQ6XM006159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Dec 2013 16:26:06 -0500 Received: from host2.jankratochvil.net (ovpn-116-70.ams2.redhat.com [10.36.116.70]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rB2LQ25W030231 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 2 Dec 2013 16:26:05 -0500 Date: Mon, 02 Dec 2013 21:26:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: gdb-patches@sourceware.org Subject: [commit] [patchv2] Record objfile->original_name as an absolute path Message-ID: <20131202212602.GA19959@host2.jankratochvil.net> References: <20130926084713.GA11031@host2.jankratochvil.net> <20131009144629.GC27355@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131009144629.GC27355@host2.jankratochvil.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00050.txt.bz2 On Wed, 09 Oct 2013 16:46:29 +0200, Jan Kratochvil wrote: > gdb/ > 2013-09-25 Doug Evans > Jan Kratochvil > > * objfiles.c (allocate_objfile): Save original_name as an absolute > path. > * objfiles.h (struct objfile): Expand comment on original_name. > * source.c (openp): Call gdb_abspath. > * utils.c (gdb_abspath): New function. > * utils.h (gdb_abspath): Declare. > > gdb/testsuite/ > 2013-09-25 Doug Evans > > * gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info > at start. > * gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary > has been specified with a relative path and we have chdir'd before > accessing the debug info. Checked in: 04affae3ef7aa124b6ac0ce4f3a54063b7b4784f Jan