diff options
author | Doug Evans <dje@google.com> | 2015-01-27 10:03:15 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2015-01-27 10:03:15 -0800 |
commit | 1b5493961ab1f65a3336b2178ba3d035a130f9f6 (patch) | |
tree | 6d1d3b715e5645eed7077276b9bb659eeb2a6f64 | |
parent | 0897ec15810bca3420ea7b8a91e491ed45780202 (diff) | |
download | gdb-1b5493961ab1f65a3336b2178ba3d035a130f9f6.zip gdb-1b5493961ab1f65a3336b2178ba3d035a130f9f6.tar.gz gdb-1b5493961ab1f65a3336b2178ba3d035a130f9f6.tar.bz2 |
Improve docs of objfile filename method.
gdb/doc/ChangeLog:
* python.texi (Objfiles In Python) <Objfile.filename>: Improve docs.
* guile.texi (Objfiles In Guile) <objfile-filename>: Improve docs.
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/guile.texi | 3 | ||||
-rw-r--r-- | gdb/doc/python.texi | 5 |
3 files changed, 11 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index a5d8329..c5340a8 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-27 Doug Evans <dje@google.com> + + * python.texi (Objfiles In Python) <Objfile.filename>: Improve docs. + * guile.texi (Objfiles In Guile) <objfile-filename>: Improve docs. + 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.texinfo (Threads): Describe -ascending for thread apply all. diff --git a/gdb/doc/guile.texi b/gdb/doc/guile.texi index 8355d9f..53e69f2 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 b9a50d0..ba03841 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 |