* symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
authorFred Fish <fnf@specifix.com>
Sat, 6 Apr 1996 10:19:19 +0000 (10:19 +0000)
committerFred Fish <fnf@specifix.com>
Sat, 6 Apr 1996 10:19:19 +0000 (10:19 +0000)
commiteae8aa302e9a76565bca1cf381e76125e1d9ff89
treef9011ec07116881c3b35017a75e521143c2af693
parente24146ec9529e0c028962910ac2efba45e42b9cf
* symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
(add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
use it, rather than calling add_psymbol_addr_to_list.
(add_psymbol_addr_to_list): Delete.
(add_psymbol_to_list): Make psymbol static to avoid random data in
gaps due to alignment of structure members.
* symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
  ADD_PSYMBOL_ADDR_TO_LIST): Remove.  Real world tests show no
performance improvements by inlining via complicated macros and
they just make gdb larger and harder to maintain.
* dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
add_psymbol_to_list with appropriate long or CORE_ADDR args.
(add_partial_symbol): Ditto.
* partial-stab.h: Ditto.
* os9kread.c (read_os9k_psymtab): Ditto
* mdebugread.c (parse_partial_symbols): Ditto.
(handle_psymbol_enumerators): Ditto.
(demangle.h): Include.
* hpread.c (hpread_build_psymtabs): Ditto.
(hpread_build_psymtabs): Ditto.
(demangle.h): Include
gdb/ChangeLog
gdb/dwarfread.c
gdb/hpread.c
gdb/mdebugread.c
gdb/os9kread.c
gdb/partial-stab.h