[RFA] dwarf2read.c: Avoid complaint for char array of unspecified size

Tom Tromey tromey@redhat.com
Mon May 24 15:35:00 GMT 2010


>>>>> "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



More information about the Gdb-patches mailing list