This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC - Python Scripting] New method gdb.Symtab.blocks_iterator - 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, 09 Apr 2012 23:45:12 +0300
- Subject: Re: [RFC - Python Scripting] New method gdb.Symtab.blocks_iterator - docs included
- References: <CAGyQ6gyCWx3epM2AQQoo9xgY0c52yYuLeGkTN7+P_uK=jpNvHw@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 10 Apr 2012 00:04:10 +0530
> From: Siva Chandra <sivachandra@google.com>
>
> While the work on Objfile.symtabs (or Objfile.iterator) is pending, I
> want to complete the API for the exploratory path Objfile => Symtabs
> => Blocks => Symbols. This patch adds the missing link Symtabs =>
> Blocks. The method Symtab.blocks_iterator returns an iterator to
> iterate over the scope blocks of a symtab. The patch is attached
Thanks, the documentation parts of this patch are approved.