PR c++/14365
authorKeith Seitz <keiths@redhat.com>
Sun, 19 Aug 2012 19:37:51 +0000 (19:37 +0000)
committerKeith Seitz <keiths@redhat.com>
Sun, 19 Aug 2012 19:37:51 +0000 (19:37 +0000)
commite5afdbd7a0f79aba7e20b2cfa0564c82a81619d9
tree4040f01d492f85c6b1f7c670520b84a2c9828ed4
parentf8aa133dce86018eee02e34ab0a45b82951698db
PR c++/14365
* c-typeprint.c (c_type_print_varspec_prefix): Pass
-1 for SHOW to c_type_print_base for METHODPTR and MEMBERPTR.

* gdb.dwarf2/dw2-anon-mptr.exp: New file.
* gdb.dwarf2/dw2-anon-mptr.S: New file.
gdb/ChangeLog
gdb/c-typeprint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.exp [new file with mode: 0644]