This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add block['var'] accessor
- From: Simon Marchi <simark at simark dot ca>
- To: Tom Tromey <tom at tromey dot com>, Christian Biesinger via gdb-patches <gdb-patches at sourceware dot org>
- Cc: Christian Biesinger <cbiesinger at google dot com>
- Date: Mon, 5 Aug 2019 14:17:28 -0400
- Subject: Re: [PATCH] Add block['var'] accessor
- References: <20190801223420.234581-1-cbiesinger@google.com> <87y30bit95.fsf@tromey.com>
On 2019-08-02 9:36 a.m., Tom Tromey wrote:
> Christian> + struct symbol *sym = block_lookup_symbol (
> Christian> + block, name.get(), symbol_name_match_type::FULL, VAR_DOMAIN);
>
> What about looking up things in other domains? I wonder if it's
> possible to, say, have a local type that can be found by iteration over
> the block but not by dictionary access. If so, that seems confusing.
Just wondering, was this commented responded to?
Simon