From 3db21ca5cdb02e9fac1461c4dd38b45eec727d15 Mon Sep 17 00:00:00 2001 From: Wilfried Moser Date: Thu, 30 May 1996 11:26:24 +0000 Subject: [PATCH] * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length. --- gdb/ChangeLog | 4 ++++ gdb/ch-exp.c | 1 + 2 files changed, 5 insertions(+) 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: -- 2.30.2