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.
This commit is contained in:
Doug Evans 2015-01-27 10:03:15 -08:00
parent 0897ec1581
commit 1b5493961a
3 changed files with 11 additions and 2 deletions

View File

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

View File

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

View File

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