* c-exp.y (%union) <type_stack>: New field.
authorTom Tromey <tromey@redhat.com>
Fri, 6 Jul 2012 14:44:22 +0000 (14:44 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 6 Jul 2012 14:44:22 +0000 (14:44 +0000)
commitfcde5961ebacc85a85adcf858c751dc9c11f8d58
treeaa3300bf1a72493745909459933cefb0256899f8
parent1a7d0ce4eb4d724a3853500b45b379e746d7077a
* 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.
gdb/ChangeLog
gdb/c-exp.y
gdb/parse.c
gdb/parser-defs.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/whatis.exp
This page took 0.026582 seconds and 4 git commands to generate.