aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/tm-i386v4.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-08-23 19:26:15 +0000
committerMark Kettenis <kettenis@gnu.org>2002-08-23 19:26:15 +0000
commitdfe01d390c53804bd69fb46ff90894a6fdea2948 (patch)
treef6b513aad5963ebfd219e6b8c8ef1a0befeab464 /gdb/config/i386/tm-i386v4.h
parent8acc2935383b05b6ae4626dac433883c21381cfb (diff)
downloadgdb-dfe01d390c53804bd69fb46ff90894a6fdea2948.zip
gdb-dfe01d390c53804bd69fb46ff90894a6fdea2948.tar.gz
gdb-dfe01d390c53804bd69fb46ff90894a6fdea2948.tar.bz2
* i386-tdep.c: Include "objfiles.h".
(i386_svr4_init_abi): Set in_solib_call_trampoline and skip_trampoline_code. * config/i386/tm-i386v4.h: Don't include "config/tm-sysv4.h". (CPLUS_MARKER): Define to '.'.
Diffstat (limited to 'gdb/config/i386/tm-i386v4.h')
-rw-r--r--gdb/config/i386/tm-i386v4.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/gdb/config/i386/tm-i386v4.h b/gdb/config/i386/tm-i386v4.h
index bfc4bb2..9363327 100644
--- a/gdb/config/i386/tm-i386v4.h
+++ b/gdb/config/i386/tm-i386v4.h
@@ -26,7 +26,14 @@
/* Pick up most of what we need from the generic i386 target include file. */
#include "i386/tm-i386.h"
-/* Pick up more stuff from the generic SVR4 host include file. */
-#include "config/tm-sysv4.h"
+/* It is unknown which, if any, SVR4 assemblers do not accept dollar signs
+ in identifiers. The default in G++ is to use dots instead, for all SVR4
+ systems, so we make that our default also. FIXME: There should be some
+ way to get G++ to tell us what CPLUS_MARKER it is using, perhaps by
+ stashing it in the debugging information as part of the name of an
+ invented symbol ("gcc_cplus_marker$" for example). */
+
+#undef CPLUS_MARKER
+#define CPLUS_MARKER '.'
#endif /* ifndef TM_I386V4_H */