public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/15150] New: suggestion on adding some statements/words about how file names are displayed.
@ 2013-02-15 15:14 asmwarrior at gmail dot com
  2013-02-16  8:44 ` [Bug gdb/15150] " jan.kratochvil at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: asmwarrior at gmail dot com @ 2013-02-15 15:14 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15150
           Summary: suggestion on adding some statements/words about how
                    file names are displayed.
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: asmwarrior@gmail.com
    Classification: Unclassified


Hi, with the change several days ago, I see some texts were added in the gdb
manual to tell the user about changing how file names are displayed.

 gdb/doc/gdb.texinfo | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index a8a7284..a448c97 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -6535,6 +6535,24 @@ unlimited.
 Display the current limit on backtrace levels.
 @end table

+You can control how file names are displayed.
+
+@table @code
+@item set filename-display
+@itemx set filename-display relative
+@cindex filename-display
+Display file names relative to the compilation directory.  This is the
default.
+
+@item set filename-display basename
+Display only basename of a filename.
+
+@item set filename-display absolute
+Display an absolute filename.
+
+@item show filename-display
+Show the current way to display filenames.
+@end table
+
 @node Selection
 @section Selecting a Frame


These changes were under the frame/backtrace section of the manual, but those
options were in-fact affect on other part of the command response. E.g. the
breakpoint command response.

E.g.: set filename-display absolute will affect the result.

[debug]> break "E:/code/cb/test_code/mortenr2012-01-15/main.cpp:16"
[debug]Breakpoint 2 at 0x4016ef: file
E:\code\cb\test_code\mortenr2012-01-15\main.cpp, line 16.

So, please mention or add some texts for this kind of information. Thanks.

-- 
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] 2+ messages in thread

* [Bug gdb/15150] suggestion on adding some statements/words about how file names are displayed.
  2013-02-15 15:14 [Bug gdb/15150] New: suggestion on adding some statements/words about how file names are displayed asmwarrior at gmail dot com
@ 2013-02-16  8:44 ` jan.kratochvil at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-02-16  8:44 UTC (permalink / raw)
  To: gdb-prs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan.kratochvil at redhat
                   |                            |dot com

--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-02-16 08:44:09 UTC ---
I did not update the doc after extending the scope of the patch, it sure needs
a fix, thanks.

-- 
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] 2+ messages in thread

end of thread, other threads:[~2013-02-16  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-15 15:14 [Bug gdb/15150] New: suggestion on adding some statements/words about how file names are displayed asmwarrior at gmail dot com
2013-02-16  8:44 ` [Bug gdb/15150] " 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).