This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why gdb 6.5 prints fullname in /cygdrive/... format om Windows?


> 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?


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