[RFC - Python Scripting] New method Objfile.symtabs () - docs included

Eli Zaretskii eliz@gnu.org
Mon Apr 2 17:08:00 GMT 2012


> Date: Mon, 2 Apr 2012 11:47:31 +0530
> From: Siva Chandra <sivachandra@google.com>
> 
> Attached is a patch which adds a new method Objfile.symtabs to
> gdb.Objfile.  This new method returns a list of gdb.Symtab objects
> associated with the underlying object file.

Thanks.

> *** doc/gdb.texinfo	28 Mar 2012 21:31:46 -0000	1.939
> --- doc/gdb.texinfo	2 Apr 2012 06:09:24 -0000
> *************** longer.  All other @code{gdb.Objfile} me
> *** 23812,23817 ****
> --- 23812,23823 ----
>   if it is invalid at the time the method is called.
>   @end defun
>   
> + @defun Objfile.symtabs ()
> + Returns the list of @code{gdb.Symtab} objects associated with the
> + underlying object file referred by the @code{gdb.Objfile} object.
                           ^^^^^^^^^^^
"referred to by ..."

> +   ** A new method 'symtabs' on gdb.Objfile objects which returns the
> +      list of gdb.Symtab objects associated with the underlying object
> +      files.

"file", I think, in single.

OK with those changes.



More information about the Gdb-patches mailing list