This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Why gdb 6.5 prints fullname in /cygdrive/... format om Windows?
- From: Nikolay Molchanov <Nikolay dot Molchanov at Sun dot COM>
- To: gdb at sourceware dot org
- Date: Mon, 07 Aug 2006 23:45:02 -0700
- Subject: Why gdb 6.5 prints fullname in /cygdrive/... format om Windows?
- Reply-to: Nikolay dot Molchanov at Sun dot COM
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