From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13828 invoked by alias); 14 Aug 2012 22:55:45 -0000 Received: (qmail 13817 invoked by uid 22791); 14 Aug 2012 22:55:44 -0000 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 Received: from mail-yx0-f171.google.com (HELO mail-yx0-f171.google.com) (209.85.213.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Aug 2012 22:55:29 +0000 Received: by yenl4 with SMTP id l4so1088939yen.2 for ; Tue, 14 Aug 2012 15:55:29 -0700 (PDT) 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== Received: by 10.68.223.164 with SMTP id qv4mr38830372pbc.20.1344984928570; Tue, 14 Aug 2012 15:55:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.223.164 with SMTP id qv4mr38830364pbc.20.1344984928402; Tue, 14 Aug 2012 15:55:28 -0700 (PDT) Received: by 10.68.8.9 with HTTP; Tue, 14 Aug 2012 15:55:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 15 Aug 2012 00:34:00 -0000 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@gcc.gnu.org, cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-Gm-Message-State: ALoCoQn18bemXN73l/VdEQxDNaGPJY8S9/45YSYCcRDSWqxuZbGx0F3PPB3bxArc2/EfTqncqRFKgbTlXa2RdnrG8EH3PXtEQlu7vpsDHph37cCAG6Q2g2AkZdcA9PTmUS5RpmSvAPxfCX3duVbvtJ0GeM/z+Oz29VNQlNHwO8bzIq4ULBJmEEhiBX8FrUBn6Rhob50nX8uC Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00337.txt.bz2 On Tue, Aug 14, 2012 at 11:13 AM, David Lindstr=F6m 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 applicati= on > 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 cyg= win > 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