public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc + debug filenames
@ 2000-09-19  5:01 Rob Taylor
  2000-09-19  5:29 ` Tim Chick
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Taylor @ 2000-09-19  5:01 UTC (permalink / raw)
  To: cygwin

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?

Thanks,
Rob Taylor
Flying Pig System


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc + debug filenames
  2000-09-19  5:01 gcc + debug filenames Rob Taylor
@ 2000-09-19  5:29 ` Tim Chick
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Chick @ 2000-09-19  5:29 UTC (permalink / raw)
  To: cygwin

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-19  5:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-19  5:01 gcc + debug filenames Rob Taylor
2000-09-19  5:29 ` Tim Chick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).