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

Nikolay Molchanov Nikolay.Molchanov@Sun.COM
Tue Aug 8 06:45:00 GMT 2006


Hello!

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"}
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Is it a bug or it is an intentional change?
Is there a way to force gdb to print fullname in format,
compatible with gdb 6.4 and previous versions (c:/...)?

Thanks in advance,
Nikolay Molchanov



More information about the Gdb mailing list