gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 15 Oct 2010 17:48:48 +0000 (17:48 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 15 Oct 2010 17:48:48 +0000 (17:48 +0000)
commit92163a10dcb34785a2fc74a05c3e890fbe700731
treee04e76f254a3faa4ebe963a9ecf8fbea39969ba9
parent3917d5d5ca1bed255ee9bd0a0b38360505ce5b4c
gdb/
PR exp/12117
* gdbtypes.c (check_typedef): Clean up function comment.
Keep track of instance flags as we strip typedefs and create a new
type to preserve them if necessary.
* gdbtypes.h (type) <instance_flags>: Extend the comment.

gdb/testsuite/
PR exp/12117
* gdb.cp/ptype-cv-cp.cc: New file.
* gdb.cp/ptype-cv-cp.exp: New file.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/ptype-cv-cp.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/ptype-cv-cp.exp [new file with mode: 0644]