diff options
author | Wilfried Moser <moser@cygnus> | 1996-05-30 11:26:24 +0000 |
---|---|---|
committer | Wilfried Moser <moser@cygnus> | 1996-05-30 11:26:24 +0000 |
commit | 3db21ca5cdb02e9fac1461c4dd38b45eec727d15 (patch) | |
tree | 6d4d7be117771090fb7faab16b77c486984d92ba /gdb | |
parent | a40aee3822977452fd67d92ae7254c3de17c7e6b (diff) | |
download | gdb-3db21ca5cdb02e9fac1461c4dd38b45eec727d15.zip gdb-3db21ca5cdb02e9fac1461c4dd38b45eec727d15.tar.gz gdb-3db21ca5cdb02e9fac1461c4dd38b45eec727d15.tar.bz2 |
* ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/ch-exp.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3bdff31..a71b86b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> + + * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length. + Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com> * remote-mips.c: cannot use EINVAL for breakpoint test since diff --git a/gdb/ch-exp.c b/gdb/ch-exp.c index d03415b..db1188f 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: |