From: Wilfried Moser Date: Thu, 30 May 1996 11:26:24 +0000 (+0000) Subject: * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3db21ca5cdb02e9fac1461c4dd38b45eec727d15;p=binutils-gdb.git * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3bdff318511..a71b86b2e85 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) + + * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length. + Tue May 28 16:15:47 1996 Geoffrey Noer * remote-mips.c: cannot use EINVAL for breakpoint test since diff --git a/gdb/ch-exp.c b/gdb/ch-exp.c index d03415b1124..db1188faac1 100644 --- a/gdb/ch-exp.c +++ b/gdb/ch-exp.c @@ -2035,6 +2035,7 @@ ch_lex () break; case LOC_TYPEDEF: yylval.tsym.type = SYMBOL_TYPE (sym); + calculate_array_length (yylval.tsym.type); return TYPENAME; case LOC_UNDEF: case LOC_CONST_BYTES: