gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 10 Jan 2012 19:29:12 +0000 (19:29 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 10 Jan 2012 19:29:12 +0000 (19:29 +0000)
commit9934703b912c81702a1a74dd0337d5e3fd291a0f
treeeb18ec390f67e52f1987fa36a1691594af2966be
parentfbfd63c0a6ed1f8192020ab09b1edc4496aff91a
gdb/
Fix regression after libiberty/ update for GCC PR 6057 and others.
* c-exp.y (operator) <OPERATOR DELETE>
(operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
* cp-name-parser.y (fill_comp, make_operator, make_dtor)
(make_builtin_type, make_name): New variable i, add gdb_assert.
(operator) <OPERATOR NEW>: Update ARGS to 3.
(operator) <OPERATOR DELETE>: Add trailing space.
(operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
(operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
* cp-support.c (cp_canonicalize_string): Check NULL from
cp_comp_to_string, call warning and return.
gdb/ChangeLog
gdb/c-exp.y
gdb/cp-name-parser.y
gdb/cp-support.c