From: Kung Hsu Date: Wed, 29 Sep 1993 20:18:00 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0dd16a5d451c34aa74ff9e73574399945d56f83;p=binutils-gdb.git Modified Files: cp-valprint.c Log Messages: * cp-valprint.c: change vtble field name to __vtbl (pr2695) --- diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index fdda85f9a57..d43eb52f18d 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -167,8 +167,12 @@ cp_is_vtbl_ptr_type(type) struct type *type; { char *typename = type_name_no_tag (type); +/* WAS this and from 4.10, it changed to __vtbl_ptr_type ** static const char vtbl_ptr_name[] = { CPLUS_MARKER,'v','t','b','l','_','p','t','r','_','t','y','p','e', 0 }; +*/ + static const char vtbl_ptr_name[] = + { '_','_','v','t','b','l','_','p','t','r','_','t','y','p','e', 0 }; return (typename != NULL && STREQ(typename, vtbl_ptr_name)); }