This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC - doc] Add note about the possibility of symbols getting moved across blocks
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Siva Chandra <sivachandra at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 25 Apr 2012 11:24:54 +0300
- Subject: Re: [RFC - doc] Add note about the possibility of symbols getting moved across blocks
- References: <CAGyQ6gyV9+jn1f6Vcqt+8PtzqZG2CZi8bZ_tW21+_21M+26DUQ@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 25 Apr 2012 13:36:20 +0530
> From: Siva Chandra <sivachandra@google.com>
>
> A @code{gdb.Block} is iterable. The iterator returns the symbols
> -(@pxref{Symbols In Python}) local to the block.
> +(@pxref{Symbols In Python}) local to the block. Users using this
> +feature should keep in mind that future improvements to the internal
> +representation, of symbols and symbol tables, can move symbols across
> +blocks within a symbol table.
Thanks. But I still don't see how the warning is useful. What should
I do or not do if I want to avoid whatever dangers you warn me about?