delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/14/18:55:57

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: <k0e4g9$uuk$1@dough.gmane.org>
References: <k0e4g9$uuk$1 AT dough DOT gmane DOT org>
Date: Tue, 14 Aug 2012 15:55:28 -0700
Message-ID: <CAKOQZ8wXhCTrMkm6yEBW1eysQO5jhaD+3x6AzHN=hTeBCSLueQ@mail.gmail.com>
Subject: Re: Cygwin GCC and debug info source file paths
From: Ian Lance Taylor <iant AT google DOT com>
To: =?ISO-8859-1?Q?David_Lindstr=F6m?= <info AT davidlindstrom DOT se>
Cc: gcc-help AT gcc DOT gnu DOT org, cygwin AT cygwin DOT com
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
<info AT davidlindstrom DOT se> 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019