projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a40aee3
)
* ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
author
Wilfried Moser
<moser@cygnus>
Thu, 30 May 1996 11:26:24 +0000
(11:26 +0000)
committer
Wilfried Moser
<moser@cygnus>
Thu, 30 May 1996 11:26:24 +0000
(11:26 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/ch-exp.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 3bdff31851172363135ba6af20ba6f02a7583790..a71b86b2e8504e443ae182d5599accd8e585fa28 100644
(file)
--- 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 d03415b1124bf9daf92ee522cda88e705d363e80..db1188faac1eef82f37a3acdce92bbd32f9aee0a 100644
(file)
--- 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: