diff options
author | Fred Fish <fnf@specifix.com> | 1992-11-30 20:07:35 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-11-30 20:07:35 +0000 |
commit | 394171ace4720ffdfa7ab5b47413aa564fa03478 (patch) | |
tree | 77b8d6d58ec1c937ae37745f945f9b92dc5e8908 /gdb/values.c | |
parent | c98c5fd4b15c26c3e524d528ff0f843d07a2888c (diff) | |
download | gdb-394171ace4720ffdfa7ab5b47413aa564fa03478.zip gdb-394171ace4720ffdfa7ab5b47413aa564fa03478.tar.gz gdb-394171ace4720ffdfa7ab5b47413aa564fa03478.tar.bz2 |
* tm-sun4sol2.h: Add CPLUS_MARKER. Solaris 2.0 requires '.'
rather than '$'. This particular piece of braindamage is
spreading like ooze. It's now infected libiberty, deja-gnu,
gdb, and gcc.
* values.c (baseclass_addr): Use CPLUS_MARKER rather than
hardwired '$' character.
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++) |