This is the mail archive of the gdb-prs@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]

[Bug cli/8093] Patch to improve behavior of gdb with -fullname


http://sourceware.org/bugzilla/show_bug.cgi?id=8093

--- Comment #6 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-02-27 15:54:51 UTC ---
The submitted dennis at slickedit.com replied:

I originally filed this bug a decade ago, but it is irrelevant at this point. 
The original fix was to make the "file=" attribute report absolute filenames
instead of relative, but the GDB now has the "fullname" attribute in the GDB/MI
output, so applications can use that.

Example:

(gdb) -stack-list-frames

^done,stack=[frame={level="0",addr="0x00000001000be56b",func="test_SEMainTokenList_default",file="test_SEMainTokenList.cpp",fullname="/Users/dbrueni/18.0.0-parsing/unittest/tagsdb/test_SEMainTokenList.cpp",line="175"},frame={level="1",addr="0x00000001000bb4e2",func="test_SEMainTokenList",file="test_SEMainTokenList.cpp",fullname="/Users/dbrueni/18.0.0-parsing/unittest/tagsdb/test_SEMainTokenList.cpp",line="3535"},frame={level="2",addr="0x000000010004ad92",func="main",file="testtagsdb.cpp",fullname="/Users/dbrueni/18.0.0-parsing/unittest/tagsdb/testtagsdb.cpp",line="35"}]

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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