This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/8093] Patch to improve behavior of gdb with -fullname
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 27 Feb 2013 15:54:51 +0000
- Subject: [Bug cli/8093] Patch to improve behavior of gdb with -fullname
- Auto-submitted: auto-generated
- References: <bug-8093-4717@http.sourceware.org/bugzilla/>
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.