From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24619 invoked by alias); 8 Aug 2006 18:53:42 -0000 Received: (qmail 24611 invoked by uid 22791); 8 Aug 2006 18:53:42 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Aug 2006 18:53:40 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-37-8.inter.net.il [80.230.37.8]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id FLV84898 (AUTH halo1); Tue, 8 Aug 2006 21:53:35 +0300 (IDT) Date: Tue, 08 Aug 2006 18:53:00 -0000 Message-Id: From: Eli Zaretskii To: Nikolay.Molchanov@Sun.COM CC: gdb@sourceware.org In-reply-to: <44D832EE.2040405@sun.com> (message from Nikolay Molchanov on Mon, 07 Aug 2006 23:45:02 -0700) Subject: Re: Why gdb 6.5 prints fullname in /cygdrive/... format om Windows? Reply-to: Eli Zaretskii References: <44D832EE.2040405@sun.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00054.txt.bz2 > Date: Mon, 07 Aug 2006 23:45:02 -0700 > From: Nikolay Molchanov > > I'm looking for a setting that will force gdb 6.5 to print > full file names on Windows in the same format as gdb 6.4 > and previous gdb versions. Previously gdb printed messages > like this one: > > -break-insert main > ^done,bkpt={number="1",type="breakpoint",disp="keep", > enabled="y",addr="0x00401075",func="main",file="t1.c", > fullname="c:/users/nik/t1/t1.c",line="2",times="0"} > ^^^^^^^^^^^^^^^^^^^^ > > New version, gdb 6.5, prints fullname using another format: > > -break-insert main > ^done,bkpt={number="1",type="breakpoint",disp="keep", > enabled="y",addr="0x00401075",func="main",file="t1.c", > fullname="/cygdrive/c/users/nik/t1/t1.c",line="2",times="0"} > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Can you tell what is the file name and the compilation directory actually recorded in the debug info of the executable? Do they use the /cygdrive/c/ form or the c:/ form?