Re: Variable objects: references formatting

Jim Blandy
2006-05-05T08:08:32Z

Nick Roberts <nickrob@snap.net.nz> writes:
> > > OK, if its a patch for -var-valuate-expression then perhaps the BOGUS
> > > comment could be removed as it seems to address this issue.
> >
> > I read the "BOGUS" comment as referring to the fact that we have to
> > specially trap structs and unions, instead of simply passing
> > everything through common_val_print. I don't think this patch affects
> > that "bogusness"; it just makes the workaround work better.
>
> I was guessing. I see that the check is for var->type, whereas
> perhaps val_print prints out children if var->val->type is a
> struct/class. But I don't know the relationship between the two and
> you're the expert in these matters.

Well, I don't feel very expert in MI; I appreciate having other eyes
look stuff over.