PR exp/9514:
authorTom Tromey <tromey@redhat.com>
Tue, 19 Jun 2012 19:49:42 +0000 (19:49 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 19 Jun 2012 19:49:42 +0000 (19:49 +0000)
commit95c391b64aafe6d8868a99dd476e6f110011dd2d
tree10fb350b0855dab2a352174353005d4775911086
parente910f0b61f40b0fcbbba3607dbe3e153f45e00d4
PR exp/9514:
* parser-defs.h (insert_type, insert_type_address_space): Declare.
(push_type_address_space): Remove.
* parse.c (insert_into_type_stack): New function.
(insert_type): Likewise.
(insert_type_address_space): Rename from push_type_address_space.
Insert tp_space_identifier.
* c-exp.y (ptr_operator): New production.
(abs_decl): Use ptr_operator.
(space_identifier): Call insert_type_address_space.
(ptype): Don't use const_or_volatile_or_space_identifier.
(const_or_volatile_noopt): Call insert_type.
(conversion_type_id, conversion_declarator): New productions.
(operator): Use conversion_type_id.
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