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]

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


 > 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


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