This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC - Python Scripting] New method Objfile.symtabs () - docs included
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Siva Chandra <sivachandra at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 02 Apr 2012 20:08:17 +0300
- Subject: Re: [RFC - Python Scripting] New method Objfile.symtabs () - docs included
- References: <CAGyQ6gxzmufX7CyKpCw=81EM-4m=jaN5LZGf1kmPBAHnGpFX6A@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.