diff options
author | John Gilmore <gnu@cygnus> | 1992-12-17 09:15:10 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-12-17 09:15:10 +0000 |
commit | de9bef49be9432334e7806405b33cd0d0a69d754 (patch) | |
tree | f808a8de6709a41ca1a6d7c0f8fe51f991c7c1a9 /gdb/stabsread.h | |
parent | 8cedeccaa84f502883f22f613fee7bf814db8af3 (diff) | |
download | gdb-de9bef49be9432334e7806405b33cd0d0a69d754.zip gdb-de9bef49be9432334e7806405b33cd0d0a69d754.tar.gz gdb-de9bef49be9432334e7806405b33cd0d0a69d754.tar.bz2 |
Eliminate uses of NAMES_HAVE_UNDERSCORE, using
bfd_get_symbol_leading_char instead.
* coffread.c (EXTERNAL_NAME): New macro for removing possible
leading character from names.
(read_coff_symtab): Use BFD's FILE *, don't open a second one.
(read_coff_symtab): Complain() about .bb/.eb mismatch, don't error().
(process_coff_symbol, coff_read_struct_type, coff_read_enum_type):
Replace NAMES_HAVE_UNDERSCORE with EXTERNAL_NAME.
* kdb-start.c (main): Remove NAMES_HAVE_UNDERSCORE.
* minsyms.c (install_minimal_symbols): Replace NAMES_HAVE_UNDERSCORE.
Remove SOME_NAMES_HAVE_DOT support (apparently unused).
* partial-stab.h: Replace NAMES_HAVE_UNDERSCORE.
* solib.c: Replace NAMES_HAVE_UNDERSCORE.
* stabsread.h: Remove NAMES_HAVE_UNDERSCORE and HASH_OFFSET.
* symfile.c (syms_from_objfile): Insert debugging check to test
NAMES_HAVE_UNDERSCORE setting against the BFD support. FIXME,
remove this (and all tm-*.h NAMES_HAVE_UNDERSCORE) soon.
* doc/gdbint.texinfo (Host Conditionals): Remove
NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document
MEM_FNS_DECLARED.
(Target Conditionals): Remove all of the above.
Diffstat (limited to 'gdb/stabsread.h')
-rw-r--r-- | gdb/stabsread.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/stabsread.h b/gdb/stabsread.h index 422747e..da69c82 100644 --- a/gdb/stabsread.h +++ b/gdb/stabsread.h @@ -1,5 +1,5 @@ /* Include file for stabs debugging format support functions. - Copyright (C) 1986-1992 Free Software Foundation, Inc. + Copyright 1986-1991, 1992 Free Software Foundation, Inc. This file is part of GDB. @@ -68,15 +68,6 @@ EXTERN int common_block_i; Used to detect pairs of N_SO symbols. */ EXTERN int previous_stab_code; - -/* Setup a define to deal cleanly with the underscore problem */ - -#ifdef NAMES_HAVE_UNDERSCORE -#define HASH_OFFSET 1 -#else -#define HASH_OFFSET 0 -#endif - /* Support for Sun changes to dbx symbol format */ |