diff options
author | John Gilmore <gnu@cygnus> | 1992-07-05 11:29:16 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-07-05 11:29:16 +0000 |
commit | 23053b80b19ee1498ee149904494c752a59c2bfa (patch) | |
tree | 36bad7835821bbb3cee92ca5d43d7c577fee6ed3 | |
parent | ec8ceca3f3116ac39836a9d8a73a53c9b891b8bc (diff) | |
download | gdb-23053b80b19ee1498ee149904494c752a59c2bfa.zip gdb-23053b80b19ee1498ee149904494c752a59c2bfa.tar.gz gdb-23053b80b19ee1498ee149904494c752a59c2bfa.tar.bz2 |
SVR4 names don't have underscores, according to the ABI.
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/tm-sysv4.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec10b00..f3b5d8e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Sun Jul 5 03:06:39 1992 John Gilmore (gnu at cygnus.com) + * tm-sysv4.h (NAMES_HAVE_UNDERSCORE): SVR4 systems don't. + * buildsym.c (finish_block): Fix thinko `inner block' complaints. * dbxread.c (process_one_symbol): Parse N_OPT "gcc2_compiled.". * procfs.c (proc_set_exec_trap): Set run-on-last-close flag on 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 |