From: John Gilmore Date: Sun, 5 Jul 1992 11:29:16 +0000 (+0000) Subject: SVR4 names don't have underscores, according to the ABI. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23053b80b19ee1498ee149904494c752a59c2bfa;p=binutils-gdb.git SVR4 names don't have underscores, according to the ABI. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec10b00d2d7..f3b5d8e41ec 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 9e92d9217d6..9348ec8edcb 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