|
|
@ -35,6 +35,7 @@ |
|
|
#include "demangle.h" |
|
|
#include "demangle.h" |
|
|
#include "c-lang.h" |
|
|
#include "c-lang.h" |
|
|
#include "typeprint.h" |
|
|
#include "typeprint.h" |
|
|
|
|
|
#include "cp-abi.h" |
|
|
|
|
|
|
|
|
#include "gdb_string.h" |
|
|
#include "gdb_string.h" |
|
|
#include <errno.h> |
|
|
#include <errno.h> |
|
|
@ -902,11 +903,10 @@ c_type_print_base (struct type *type, struct ui_file *stream, int show, |
|
|
{ |
|
|
{ |
|
|
char *physname = TYPE_FN_FIELD_PHYSNAME (f, j); |
|
|
char *physname = TYPE_FN_FIELD_PHYSNAME (f, j); |
|
|
int is_full_physname_constructor = |
|
|
int is_full_physname_constructor = |
|
|
((physname[0] == '_' && physname[1] == '_' |
|
|
is_constructor_name (physname) |
|
|
&& strchr ("0123456789Qt", physname[2])) |
|
|
|| is_destructor_name (physname) |
|
|
|| STREQN (physname, "__ct__", 6) |
|
|
|| method_name[0] == '~'; |
|
|
|| DESTRUCTOR_PREFIX_P (physname) |
|
|
|
|
|
|| STREQN (physname, "__dt__", 6)); |
|
|
|
|
|
|
|
|
|
|
|
QUIT; |
|
|
QUIT; |
|
|
if (TYPE_FN_FIELD_PROTECTED (f, j)) |
|
|
if (TYPE_FN_FIELD_PROTECTED (f, j)) |
|
|
|