This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] dwarf2read.c: Avoid complaint for char array of unspecified size
- From: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 24 May 2010 09:30:16 -0600
- Subject: Re: [RFA] dwarf2read.c: Avoid complaint for char array of unspecified size
- References: <38685.0063725889$1274473713@news.gmane.org> <m3pr0px76l.fsf@fleche.redhat.com> <002201caf93d$e6ea8190$b4bf84b0$@muller@ics-cnrs.unistra.fr>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
Pierre> But I still don't get the bounds that we should use:
Pierre> lower bound is 0, or 1 for fortran (default value),
Pierre> but should upper bound be equal to lower bound or lower bound -1?
Whatever means "unknown bounds" inside gdb.
I don't remember offhand what this is.
Pierre> This would mean that we should fix the code inside
Pierre> read_subrange_type, no?
Pierre> Do you think that this would be the correct approach?
Yeah, I do.
Tom