From 526e70c05f9132dc0a15af67943d2ecf9120660e Mon Sep 17 00:00:00 2001 From: David Carlton Date: Wed, 11 Jun 2003 22:27:17 +0000 Subject: 2003-06-11 David Carlton * block.h (BLOCK_SHOULD_SORT): Delete. * symtab.c (lookup_block_symbol): Don't worry about sorted linear blocks. * ada-lang.c (ada_add_block_symbols): Ditto. * symfile.c (sort_block_syms): Delete. (sort_symtab_syms): Ditto. * symfile.h: Delete sort_symtabs_syms and sort_block_syms declarations. * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. * dwarf2read.c (psymtab_to_symtab_1): Ditto. * dwarfread.c (psymtab_to_symtab_1): Ditto. * hpread.c (hpread_psymtab_to_symtab_1): Ditto. * mdebugread.c (psymtab_to_symtab_1): Ditto. * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. --- gdb/block.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gdb/block.h') diff --git a/gdb/block.h b/gdb/block.h index 8334a3b..2917bc3 100644 --- a/gdb/block.h +++ b/gdb/block.h @@ -162,14 +162,6 @@ struct block for ((sym) = BLOCK_BUCKET ((bl), (i)); (sym); \ (sym) = (sym)->hash_next) -/* Nonzero if symbols of block BL should be sorted alphabetically. - Don't sort a block which corresponds to a function. If we did the - sorting would have to preserve the order of the symbols for the - arguments. Also don't sort any block that we chose to hash. */ - -#define BLOCK_SHOULD_SORT(bl) (! BLOCK_HASHTABLE (bl) \ - && BLOCK_FUNCTION (bl) == NULL) - struct blockvector { /* Number of blocks in the list. */ -- cgit v1.1