* ch-valprint.c (calculate_array_length): New function to determine
authorWilfried Moser <moser@cygnus>
Mon, 29 Jan 1996 08:17:22 +0000 (08:17 +0000)
committerWilfried Moser <moser@cygnus>
Mon, 29 Jan 1996 08:17:22 +0000 (08:17 +0000)
commitd221b17e83dc8562129b8e9284021baa89e3c877
treeebac50e4ff99151cfef40b713f18ccc080123db1
parentd59558827ed8da7fd4cf379a5bb25f3a2fca3091
    * ch-valprint.c (calculate_array_length): New function to determine
        the length of an array type (see comment).
        (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
        array type is zero, call calculate_array_length.

        * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): They values
        may not be sorted. Scan all entries and set the real lower and
gdb/ChangeLog
gdb/ch-valprint.c
gdb/gdbtypes.c