public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/8093] Patch to improve behavior of gdb with -fullname
       [not found] <bug-8093-4717@http.sourceware.org/bugzilla/>
@ 2012-12-20  7:58 ` jan.kratochvil at redhat dot com
  2012-12-24  3:46 ` jan.kratochvil at redhat dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-12-20  7:58 UTC (permalink / raw)
  To: gdb-prs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.kratochvil at redhat
                   |                            |dot com
         AssignedTo|unassigned at sourceware    |jan.kratochvil at redhat
                   |dot org                     |dot com

-- 
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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug cli/8093] Patch to improve behavior of gdb with -fullname
       [not found] <bug-8093-4717@http.sourceware.org/bugzilla/>
  2012-12-20  7:58 ` [Bug cli/8093] Patch to improve behavior of gdb with -fullname jan.kratochvil at redhat dot com
@ 2012-12-24  3:46 ` jan.kratochvil at redhat dot com
  2013-02-27  2:13 ` asmwarrior at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-12-24  3:46 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-12-24 03:46:20 UTC ---
Created attachment 6789
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6789
Decoded attachment.

-- 
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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug cli/8093] Patch to improve behavior of gdb with -fullname
       [not found] <bug-8093-4717@http.sourceware.org/bugzilla/>
  2012-12-20  7:58 ` [Bug cli/8093] Patch to improve behavior of gdb with -fullname jan.kratochvil at redhat dot com
  2012-12-24  3:46 ` jan.kratochvil at redhat dot com
@ 2013-02-27  2:13 ` asmwarrior at gmail dot com
  2013-02-27  6:52 ` jan.kratochvil at redhat dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: asmwarrior at gmail dot com @ 2013-02-27  2:13 UTC (permalink / raw)
  To: gdb-prs

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

asmwarrior <asmwarrior at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asmwarrior at gmail dot com

--- Comment #2 from asmwarrior <asmwarrior at gmail dot com> 2013-02-27 02:13:15 UTC ---
It looks like the new added option(in GDB CVS HEAD):
set filename-display absolute
Also control the filename display format of the bt command.

-- 
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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug cli/8093] Patch to improve behavior of gdb with -fullname
       [not found] <bug-8093-4717@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-02-27  2:13 ` asmwarrior at gmail dot com
@ 2013-02-27  6:52 ` jan.kratochvil at redhat dot com
  2013-02-27 15:15 ` asmwarrior at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-02-27  6:52 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-02-27 06:52:42 UTC ---
I am aware of this Bug but I do not know how Emacs uses it as I do not use
Emacs.
The annotations for Emacs already use absolute filenames so does it matter
anymore?
Was it still an issue before "set filename-display" was implemented recently?

-- 
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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug cli/8093] Patch to improve behavior of gdb with -fullname
       [not found] <bug-8093-4717@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2013-02-27  6:52 ` jan.kratochvil at redhat dot com
@ 2013-02-27 15:15 ` asmwarrior at gmail dot com
  2013-02-27 15:35 ` jan.kratochvil at redhat dot com
  2013-02-27 15:54 ` jan.kratochvil at redhat dot com
  6 siblings, 0 replies; 7+ messages in thread
From: asmwarrior at gmail dot com @ 2013-02-27 15:15 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #4 from asmwarrior <asmwarrior at gmail dot com> 2013-02-27 15:15:40 UTC ---
@Jan: 
Before "set filename-display"  feature was implement in CVS. E.g. several
months ago, if I remember correctly, you start GDB by passing the "-fullname"
option, then you still see relatives paths shown after the "bt" command.
Literally, "fullname" means "absolute name", right? 

PS: I know nothing about Emace.

-- 
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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug cli/8093] Patch to improve behavior of gdb with -fullname
       [not found] <bug-8093-4717@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2013-02-27 15:15 ` asmwarrior at gmail dot com
@ 2013-02-27 15:35 ` jan.kratochvil at redhat dot com
  2013-02-27 15:54 ` jan.kratochvil at redhat dot com
  6 siblings, 0 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-02-27 15:35 UTC (permalink / raw)
  To: gdb-prs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |7.6

--- Comment #5 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-02-27 15:35:46 UTC ---
Talking about gdb-7.5 here:

The -fullname option causes calling function identify_source_line.
This function already printed s->fullname annotation before, even without my
patches.

-fullname according to gdb.info is really just about this annotation.
The -fullname option doc does not talk about any change in user visible GDB
text output like the backtraces.

The MI part has been already fixed for some time, not by changing the "file"
attribute but by introducing new "fullname" attribute.

Talking about gdb-7.6 here:

Emacs users still may prefer absolute filenames in backtraces but that is
unrelated to the -fullname option, they can set the "set filename-display"
option now.

So I find this Bug fixed, although a bit differently than it was filed.

-- 
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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug cli/8093] Patch to improve behavior of gdb with -fullname
       [not found] <bug-8093-4717@http.sourceware.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2013-02-27 15:35 ` jan.kratochvil at redhat dot com
@ 2013-02-27 15:54 ` jan.kratochvil at redhat dot com
  6 siblings, 0 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-02-27 15:54 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-02-27 15:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-8093-4717@http.sourceware.org/bugzilla/>
2012-12-20  7:58 ` [Bug cli/8093] Patch to improve behavior of gdb with -fullname jan.kratochvil at redhat dot com
2012-12-24  3:46 ` jan.kratochvil at redhat dot com
2013-02-27  2:13 ` asmwarrior at gmail dot com
2013-02-27  6:52 ` jan.kratochvil at redhat dot com
2013-02-27 15:15 ` asmwarrior at gmail dot com
2013-02-27 15:35 ` jan.kratochvil at redhat dot com
2013-02-27 15:54 ` jan.kratochvil at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).