This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc + debug filenames


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]