aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-sun4sol2.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-11-30 20:07:35 +0000
committerFred Fish <fnf@specifix.com>1992-11-30 20:07:35 +0000
commit394171ace4720ffdfa7ab5b47413aa564fa03478 (patch)
tree77b8d6d58ec1c937ae37745f945f9b92dc5e8908 /gdb/tm-sun4sol2.h
parentc98c5fd4b15c26c3e524d528ff0f843d07a2888c (diff)
downloadgdb-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/tm-sun4sol2.h')
-rw-r--r--gdb/tm-sun4sol2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/tm-sun4sol2.h b/gdb/tm-sun4sol2.h
index dbf9ffb..f785dd1 100644
--- a/gdb/tm-sun4sol2.h
+++ b/gdb/tm-sun4sol2.h
@@ -37,6 +37,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define SUN_FIXED_LBRAC_BUG
+/* Assembler doesn't grok dollar signs in identifiers, so we use dots instead.
+ This item must be coordinated with G++. */
+#undef CPLUS_MARKER
+#define CPLUS_MARKER '.'
+
#if 0 /* Setjmp/longjmp are not as well doc'd in SunOS 5.x yet */
/* Offsets into jmp_buf. Not defined by Sun, but at least documented in a