Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: References: <000e01c02231$22c48420$b400a8c0 AT eventhorizon> Subject: Re: gcc + debug filenames Date: Tue, 19 Sep 2000 13:29:10 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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