diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-09-27 21:16:43 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-09-27 21:16:43 +0000 |
commit | 56e2d25ab5b69584198204090fe049e920cd57db (patch) | |
tree | 1b1a3821b0a1b7d7f64be1fa2a25a221115f9a56 /gdb/ChangeLog | |
parent | 3e9986d2216e847a63ccd55fea53c381b8f5afa7 (diff) | |
download | gdb-56e2d25ab5b69584198204090fe049e920cd57db.zip gdb-56e2d25ab5b69584198204090fe049e920cd57db.tar.gz gdb-56e2d25ab5b69584198204090fe049e920cd57db.tar.bz2 |
2001-09-20 Michael Snyder <msnyder@redhat.com>
Changes by Daniel Berlin <dan@cgsoftware.com>, to support
better parsing of const and volatile type expressions.
* c-exp.y (const_and_volatile, const_or_volatile_noopt,
const_or_volatile): New non-terminals.
(ptype): Use new rule for const_or_volatile.
(typebase): Use new rule for const_or_volatile_noopt.
* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
* parse.c (follow_types): Handle tp_const and tp_volatile on the
type stack: call make_cv_type to create new const/volatile type.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c4437a8..2c74a85 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -106,6 +106,17 @@ * c-exp.y (typebase): Accept (signed long long) as a type expr. +2001-09-20 Michael Snyder <msnyder@redhat.com> + Changes by Daniel Berlin <dan@cgsoftware.com>, to support + better parsing of const and volatile type expressions. + * c-exp.y (const_and_volatile, const_or_volatile_noopt, + const_or_volatile): New non-terminals. + (ptype): Use new rule for const_or_volatile. + (typebase): Use new rule for const_or_volatile_noopt. + * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile. + * parse.c (follow_types): Handle tp_const and tp_volatile on the + type stack: call make_cv_type to create new const/volatile type. + 2001-09-20 Kevin Buettner <kevinb@redhat.com> * solib-svr4.c (fetch_link_map_offsets): Add comment. |