From 1b5493961ab1f65a3336b2178ba3d035a130f9f6 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 27 Jan 2015 10:03:15 -0800 Subject: [PATCH] Improve docs of objfile filename method. gdb/doc/ChangeLog: * python.texi (Objfiles In Python) : Improve docs. * guile.texi (Objfiles In Guile) : Improve docs. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/guile.texi | 3 ++- gdb/doc/python.texi | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index a5d83298829..c5340a8e336 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-27 Doug Evans + + * python.texi (Objfiles In Python) : Improve docs. + * guile.texi (Objfiles In Guile) : Improve docs. + 2015-01-22 Jan Kratochvil * gdb.texinfo (Threads): Describe -ascending for thread apply all. diff --git a/gdb/doc/guile.texi b/gdb/doc/guile.texi index 8355d9f027c..53e69f27960 100644 --- a/gdb/doc/guile.texi +++ b/gdb/doc/guile.texi @@ -2246,7 +2246,8 @@ if it is invalid at the time the procedure is called. @end deffn @deffn {Scheme Procedure} objfile-filename objfile -Return the file name of @var{objfile} as a string. +Return the file name of @var{objfile} as a string, +with symbolic links resolved. @end deffn @deffn {Scheme Procedure} objfile-pretty-printers objfile diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index b9a50d0d55e..ba0384114b2 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -3513,7 +3513,10 @@ Each objfile is represented by an instance of the @code{gdb.Objfile} class. @defvar Objfile.filename -The file name of the objfile as a string. +The file name of the objfile as a string, with symbolic links resolved. + +The value is @code{None} if the objfile is no longer valid. +See the @code{gdb.Objfile.is_valid} method, described below. @end defvar @defvar Objfile.owner -- 2.30.2