This is the mail archive of the
mailing list for the GDB project.
Re: [RFA] mi/10586
>>>>> "Keith" == Keith Seitz <firstname.lastname@example.org> writes:
Keith> On 11/14/2011 12:28 PM, Tom Tromey wrote:
>> Actually, thinking about it more, it seems to me that it would be ok for
>> these cases to just be errors. There's no really good way to refer to
>> the anonymous field as its own entity, and I don't think we should hack
>> up the parser and whatever else to support this.
Keith> An error... I'm not so sure that I like that, but to be honest, I'm
Keith> not sure I like/dislike it sufficiently to argue about it.
I guess it could be done by returning something like:
*(struct whatever*) ((char *) original_expr + offset)
That is only mildly horrible.
Keith> Yes, that one could be an error. I was just mirroring what the "fake"
Keith> children currently do. (-var-info-path-expression a.public = "").
Oh, ok. That is fine then.