X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org 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:content-transfer-encoding:x-system-of-record :x-gm-message-state; bh=Dj6jH4hA8qxVJo1/eo6o/PhCFoFw9dKDtZTiOOeL2Zg=; b=LmF4v80pEB9v5Ydqo6QUKeU+UNi4TOJLqwZIP3FjhnFgnucRqWm5KgLPzkDueeckap 6kPX06JR7n/kTk7Rb1BXiTaVPcry77badb13QAVjPqumvqgJwho28px8Re7c4xWXcLZ/ 3S8gqwlV8CeaEUxpZH/hxz9CGkJNcYtmgPiNF1epICP2YmHssWMVQwsmthcJZ9yRp03W tON1d1WF6oB+lyfSBoHy70dFfv2R3epexqcabRhuO+ar7RwESUSEFz9OCXc+Oid//GFX PN9On0GlB+M/ZpQ9U3tsExwTByOtIOiSw0Rw3ynauzFWO0FTiRw2NI88rtBbmqYPAaU6 a8Iw== MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 14 Aug 2012 15:55:28 -0700 Message-ID: Subject: Re: Cygwin GCC and debug info source file paths From: Ian Lance Taylor To: =?ISO-8859-1?Q?David_Lindstr=F6m?= Cc: gcc-help AT gcc DOT gnu DOT org, cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true X-Gm-Message-State: ALoCoQn18bemXN73l/VdEQxDNaGPJY8S9/45YSYCcRDSWqxuZbGx0F3PPB3bxArc2/EfTqncqRFKgbTlXa2RdnrG8EH3PXtEQlu7vpsDHph37cCAG6Q2g2AkZdcA9PTmUS5RpmSvAPxfCX3duVbvtJ0GeM/z+Oz29VNQlNHwO8bzIq4ULBJmEEhiBX8FrUBn6Rhob50nX8uC Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q7EMtrd6006532 On Tue, Aug 14, 2012 at 11:13 AM, David Lindström wrote: > Hi, I didn't know where to put this. I'm trying to use a cygwin build of GCC > for arm (binaries from gnuarm.com). When I build a simple dummy application > just doing some matrix multiplications in a loop, it creates a nice > executable file with debug info, but the path to the source file is a cygwin > path which is incompatible with the debugging tool I'm trying to use. I'm > wondering if there's a way to generate the exe with relative paths to the > source files, alternatively to use windows paths? > > The tool is Trace32 from Lauterbach, currently experementing with the arm > simulator from the website. You may be able to use GCC's -fdebug-prefix-map option. Ian -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple