aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1993-09-29 20:18:00 +0000
committerKung Hsu <kung@cygnus>1993-09-29 20:18:00 +0000
commitb0dd16a5d451c34aa74ff9e73574399945d56f83 (patch)
treef65c4e23471caee2de69e3263d7d82957d5e2775 /gdb/cp-valprint.c
parent2d575e6fed32a86eadacdfce3e13a96e0026922c (diff)
downloadgdb-b0dd16a5d451c34aa74ff9e73574399945d56f83.zip
gdb-b0dd16a5d451c34aa74ff9e73574399945d56f83.tar.gz
gdb-b0dd16a5d451c34aa74ff9e73574399945d56f83.tar.bz2
Modified Files:
cp-valprint.c Log Messages: * cp-valprint.c: change vtble field name to __vtbl (pr2695)
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index fdda85f..d43eb52 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));
}