[PATCH] Add block['var'] accessor

Simon Marchi simark@simark.ca
Mon Aug 5 18:17:00 GMT 2019


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



More information about the Gdb-patches mailing list