aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-sysv4.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-07-05 11:29:16 +0000
committerJohn Gilmore <gnu@cygnus>1992-07-05 11:29:16 +0000
commit23053b80b19ee1498ee149904494c752a59c2bfa (patch)
tree36bad7835821bbb3cee92ca5d43d7c577fee6ed3 /gdb/tm-sysv4.h
parentec8ceca3f3116ac39836a9d8a73a53c9b891b8bc (diff)
downloadgdb-23053b80b19ee1498ee149904494c752a59c2bfa.zip
gdb-23053b80b19ee1498ee149904494c752a59c2bfa.tar.gz
gdb-23053b80b19ee1498ee149904494c752a59c2bfa.tar.bz2
SVR4 names don't have underscores, according to the ABI.
Diffstat (limited to 'gdb/tm-sysv4.h')
-rw-r--r--gdb/tm-sysv4.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/tm-sysv4.h b/gdb/tm-sysv4.h
index 9e92d92..9348ec8 100644
--- a/gdb/tm-sysv4.h
+++ b/gdb/tm-sysv4.h
@@ -33,3 +33,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
when we have stepped into one of these fragments. */
#define IN_SOLIB_TRAMPOLINE(pc,name) ((name) && (strcmp ("_init", name) == 0))
+
+/* In SVR4 ELF files, the ABI defines (pg. 4-25) that "External C symbols
+ have the same names in C, assembly code, and object files' symbol
+ tables." So... */
+
+#undef NAMES_HAVE_UNDERSCORE