This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Updated path expression computations for varobj trees
- From: Tom Tromey <tromey at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: "gp \>\> \"gdb-patches\ at sourceware dot org ml\"" <gdb-patches at sourceware dot org>
- Date: Tue, 20 Dec 2011 08:23:44 -0700
- Subject: Re: [RFA] Updated path expression computations for varobj trees
- References: <4EEBCC7D.4020103@redhat.com>
>>>>> "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.
Tom