This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: gcc + debug filenames
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: Re: gcc + debug filenames
- From: "Tim Chick" <TChick at virata dot com>
- Date: Tue, 19 Sep 2000 13:29:10 +0100
- References: <000e01c02231$22c48420$b400a8c0@eventhorizon>
> 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@sourceware.cygnus.com