diff options
author | Kung Hsu <kung@cygnus> | 1993-09-29 20:18:00 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1993-09-29 20:18:00 +0000 |
commit | b0dd16a5d451c34aa74ff9e73574399945d56f83 (patch) | |
tree | f65c4e23471caee2de69e3263d7d82957d5e2775 /gdb/cp-valprint.c | |
parent | 2d575e6fed32a86eadacdfce3e13a96e0026922c (diff) | |
download | gdb-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.c | 4 |
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)); } |