This is the mail archive of the gdb@sources.redhat.com 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: Add fullname to breakpoint output


Hi,

I wrote a patch that adds the fullname to breakpoint output.

(gdb) -break-insert main
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",
addr="0x080483c3",func="main",fullname="/home/bob/cvs/src/gdb/test.c",
file="test.c",line="8",times="0"}
(gdb)


I would like confirmation on this before I go through the effort to
fix the testsuite.

The only alternative I can think of is:


file={fullname="/full/name", relname=".../...", dir="..."}

while astheticly pleasing, my past experience suggests that such strict structuring eventually comes back and bites you - simple structures tend to last longer.

Just post the code side of the change. Once resolved, the testsuite should be `obvious'.

Andrew



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