gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 13 Feb 2011 09:15:54 +0000 (09:15 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 13 Feb 2011 09:15:54 +0000 (09:15 +0000)
commitbc9a5551cacf43d273e80c80d9facb718d6af4d4
tree2cc947c24aa201798ecd7ce90b32a73b8a5ebabd
parent93b55aa198d29b69a6707bcb7bc320572629bd62
gdb/
Fix const/volatile qualifiers of C++ types, PR c++/12328.
* c-typeprint.c (c_type_print_args): Update the function comment.  New
variable param_type, initialize it.  Remove const/volatile qualifiers
for language_cplus and !show_artificial.  Use param_type.

gdb/testsuite/
Fix const/volatile qualifiers of C++ types, PR c++/12328.
* gdb.cp/overload-const.exp: New file.
* gdb.cp/overload-const.cc: New file.
gdb/ChangeLog
gdb/c-typeprint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/overload-const.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/overload-const.exp [new file with mode: 0644]