This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog c-exp.y parse.c parser-defs. ...
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 6 Jul 2012 14:44:22 -0000
- Subject: src/gdb ChangeLog c-exp.y parse.c parser-defs. ...
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2012-07-06 14:44:22
Modified files:
gdb : ChangeLog c-exp.y parse.c parser-defs.h
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: whatis.exp
Log message:
* c-exp.y (%union) <type_stack>: New field.
(abs_decl, direct_abs_decl): Use <type_stack> type. Update.
(ptr_operator_ts): New production.
(ptype): Update.
* parse.c (type_stack_reserve): New function.
(check_type_stack_depth): Use it.
(pop_type_stack, append_type_stack, push_type_stack)
(get_type_stack, type_stack_cleanup): New functions.
(follow_types): Handle tp_type_stack.
(_initialize_parse): Simplify initialization.
* parser-defs.h (enum type_pieces) <tp_type_stack>: New
constant.
(union type_stack_elt) <stack_val>: New field.
(get_type_stack, append_type_stack, push_type_stack)
(type_stack_cleanup): Declare.
testsuite
* gdb.base/whatis.exp: Add tests.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14440&r2=1.14441
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-exp.y.diff?cvsroot=src&r1=1.93&r2=1.94
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/parse.c.diff?cvsroot=src&r1=1.120&r2=1.121
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/parser-defs.h.diff?cvsroot=src&r1=1.45&r2=1.46
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3275&r2=1.3276
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/whatis.exp.diff?cvsroot=src&r1=1.20&r2=1.21