This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Why gdb 6.5 prints fullname in /cygdrive/... format om Windows?
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Nikolay dot Molchanov at Sun dot COM
- Cc: gdb at sourceware dot org
- Date: Tue, 08 Aug 2006 21:53:33 +0300
- Subject: Re: Why gdb 6.5 prints fullname in /cygdrive/... format om Windows?
- References: <44D832EE.2040405@sun.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 07 Aug 2006 23:45:02 -0700
> From: Nikolay Molchanov <Nikolay.Molchanov@Sun.COM>
>
> 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?