From b440b1e9e4376498e106e92967563898a1f2ce4b Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Fri, 27 Dec 1991 03:55:12 +0000 Subject: Various changes to clean up ADD_PSYMBOL_TO_LIST and ADD_PSYMBOL_ADDR_TO_LIST usages. --- gdb/dbxread.c | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'gdb/dbxread.c') diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 482f12c..c80ff16 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -660,37 +660,6 @@ free_bincl_list () bincls_allocated = 0; } -#ifdef DEBUG -/* This is normally a macro defined in read_dbx_symtab, but this - is a lot easier to debug. */ - -void -add_psymbol_to_plist(name, namelength, namespace, class, plist, value) - char *name; - int namelength; - enum namespace namespace; - enum address_class class; - struct psymbol_allocation_list *plist; - unsigned long value; -{ - ADD_PSYMBOL_VT_TO_LIST(name, namelength, namespace, - class, *plist, value, SYMBOL_VALUE); -} - -void -add_psymbol_addr_to_plist(name, namelength, namespace, class, plist, value) - char *name; - int namelength; - enum namespace namespace; - enum address_class class; - struct psymbol_allocation_list *plist; - CORE_ADDR value; -{ - ADD_PSYMBOL_VT_TO_LIST(name, namelength, namespace, - class, *plist, value, SYMBOL_VALUE_ADDRESS); -} -#endif /* DEBUG */ - /* Given pointers to an a.out symbol table in core containing dbx style data, setup partial_symtab's describing each source file for which debugging information is available. NLISTLEN is the number -- cgit v1.1