Re: [RFA] Updated path expression computations for varobj trees

Keith Seitz
2011-12-20T17:47:23Z

On 12/20/2011 07:23 AM, Tom Tromey wrote:
>>>>>> "Keith" == Keith Seitz<keiths@redhat.com> writes:
>
> Keith> * lib/mi-support.exp: Expand comments about PATH_EXPR.
> Keith> (varobj_tree::get_path_expr): Assume that all varobjs are
> Keith> compound unless they are known simple types.
> Keith> Adjust path expressions based on parent type, path parent type,
> Keith> and tree language.
> Keith> (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
> Keith> the root varobj.
> Keith> (mi_walk_varobj_tree): Add LANGUAGE parameter.
>
> This is ok.
>
> I'm not super fond of the type regexp thing, but I suppose we can always
> enhance it more later if need be.

I am not very fond of it, either, but let me see if I can fiddle with it
one more time. I've thought of something that might work.

I'll send a note to the list one way or the other.

Thank you for taking a look.

Keith