diff options
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/values.c b/gdb/values.c index 61a1614..14ecccb 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -1215,7 +1215,7 @@ baseclass_addr (type, index, valaddr, valuep, errp) char *vbase_name, *type_name = type_name_no_tag (basetype); vbase_name = (char *)alloca (strlen (type_name) + 8); - sprintf (vbase_name, "_vb$%s", type_name); + sprintf (vbase_name, "_vb%c%s", CPLUS_MARKER, type_name); /* First look for the virtual baseclass pointer in the fields. */ for (i = n_baseclasses; i < len; i++) |