This is the mail archive of the gdb-patches@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]

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


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


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