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: Nick Roberts <nickrob at snap dot net dot nz>
- To: Nikolay dot Molchanov at Sun dot COM
- Cc: gdb at sourceware dot org
- Date: Tue, 8 Aug 2006 22:34:46 +1200
- Subject: Why gdb 6.5 prints fullname in /cygdrive/... format om Windows?
- References: <44D832EE.2040405@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"}
> ^^^^^^^^^^^^^^^^^^^^
Is this real output? I thought the fullname field for breakpoints
was only added in February of this year:
2006-02-06 Vladimir Prus <ghost@cs.msu.su>
* breakpoint.c (print_one_breakpoint): For MI-like UI, output
fullname field.
Could you be confusing it with other output e.g when execution stops:
*stopped,reason="breakpoint-hit",bkptno="1",thread-id="0",frame={addr="0x08048504",func="main",args=[],file="myprog.c",fullname="/home/nickrob/myprog.c",line="57"}
where there has been a fullname field for longer? After you've set your
breakpoint at main, what output do you get when you do "-exec-run"?
--
Nick http://www.inet.net.nz/~nickrob