delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/19/08:33:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <016601c02235$36c47670$fe01a8c0@tjc1laptop>
From: "Tim Chick" <TChick AT virata DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
References: <000e01c02231$22c48420$b400a8c0 AT eventhorizon>
Subject: Re: gcc + debug filenames
Date: Tue, 19 Sep 2000 13:29:10 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300

> I've got a toolset build for compiling to powerpc-unknown-eabi under
cygwin, but
> I have the problem that the filenames stored when generating DWARF debug
info
> are all in cygwin form (/cygwin/d/...). Does anyone know of a way I can
get my
> toolchain to generate windows-style names (d:\...) so I can use the
outputs with
> metrowerks debugger?

Strangely, I had the opposite problem. I built an arm-aout toolchain, which
put all the debugging info into windows format names, which didn't work well
with my cygwin built gdb!

I just attacked the gcc source code:
In gcc/dbxout.c I added a few
cygwin_conv_to_posix_path(filename,posix_path);
lines, and it all seemed to work

Presumably you would need to change dwarfout.c if there isn't a better way!

Tim



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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