* ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
authorWilfried Moser <moser@cygnus>
Wed, 10 Apr 1996 10:01:30 +0000 (10:01 +0000)
committerWilfried Moser <moser@cygnus>
Wed, 10 Apr 1996 10:01:30 +0000 (10:01 +0000)
commitf046f4c87acd6605fd0186b806717059c6657133
tree89d48290bdfce485598cc3055b658cb63b0497d8
parent8b554809c07fb6e177dfdac4a4a1d6e622edb89d
    * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
        (calculate_array_length): Move function from here ...

        * ch-exp.c (calculate_array_length): ... to here.
        (parse_primval): If we have a symbol with an array type
        and the length is 0, call calculate_array_length.
gdb/ChangeLog
gdb/ch-exp.c
gdb/ch-valprint.c