This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] handle VLA in a struct or union
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 8 May 2014 15:38:53 -0700
- Subject: Re: [PATCH 2/2] handle VLA in a struct or union
- Authentication-results: sourceware.org; auth=none
- References: <1399574816-12845-1-git-send-email-tromey at redhat dot com> <1399574816-12845-3-git-send-email-tromey at redhat dot com> <20140508210914 dot GE4063 at adacore dot com> <87lhucuf98 dot fsf at fleche dot redhat dot com>
> Joel> I think I need to review that code, as I do that a litte little
> Joel> later in the function again. I'll send another update when I have
> Joel> more info on this.
>
> I will try to look at it again tomorrow, don't spend too much effort on
> it.
I think the call to value_from_contents_and_address with the
partially constructed type is borderline, to say the least.
So I think it's worth me looking at it anyways.
So far, I've tried to build the dval using the original type,
but that doesn't seem to be good enough. That's all I could do today,
but I will have another look at it tomorrow.
--
Joel