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 gdb/15150] New: suggestion on adding some statements/wordsabout how file names are displayed.


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.


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