From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85074 invoked by alias); 14 Jan 2016 21:10:17 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 85063 invoked by uid 89); 14 Jan 2016 21:10:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=mercedes, Mercedes 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; Thu, 14 Jan 2016 21:10:16 +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 (Postfix) with ESMTPS id EFFE2C076616; Thu, 14 Jan 2016 21:10:14 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-93.ams2.redhat.com [10.36.116.93]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0ELABBt000728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 14 Jan 2016 16:10:14 -0500 Date: Thu, 14 Jan 2016 21:10:00 -0000 From: Jan Kratochvil To: Linux Mercedes Cc: gdb@sourceware.org Subject: Re: gdb cannot find "../sysdeps/unix/syscall-template.S" Message-ID: <20160114211011.GA17026@host1.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00015.txt.bz2 On Thu, 14 Jan 2016 22:06:38 +0100, Linux Mercedes wrote: > file: "../sysdeps/unix/syscall-template.S", line number: 1 It may be more clear if you type: (gdb) set filename-display absolute Then there are various substitution commands in GDB how to point it to the right directory. Jan