gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 21 Sep 2012 20:01:12 +0000 (20:01 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 21 Sep 2012 20:01:12 +0000 (20:01 +0000)
commit04e7407c59ad047ff7df4084a904d29fbeb62315
tree56752cc3165ee9c89e88b64046237cdb41342115
parent9bf4bce9847504467f8af7e3c7886cce1794dbad
gdb/
Fix internal error on canonicalization of clang types.
* cp-name-parser.y (operator): New comment at make_operator call for
new, delete, new[] and delete[].
(exp): Use "sizeof ".  Add new comment at make_operator call.

gdb/testsuite/
Fix internal error on canonicalization of clang types.
* gdb.dwarf2/dw2-canonicalize-type.S: New file.
* gdb.dwarf2/dw2-canonicalize-type.exp: New file.
* lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
gdb/ChangeLog
gdb/cp-name-parser.y
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-canonicalize-type.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-canonicalize-type.exp [new file with mode: 0644]
gdb/testsuite/lib/gdb.exp