aboutsummaryrefslogtreecommitdiff
path: root/gdb/block.h
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-06-11 22:27:17 +0000
committerDavid Carlton <carlton@bactrian.org>2003-06-11 22:27:17 +0000
commit526e70c05f9132dc0a15af67943d2ecf9120660e (patch)
tree45a01e57386fa45d0b48c6a524a250ff68fb22b5 /gdb/block.h
parent33c081509ef98f9ea2702cb8e6150e0bbf277ab2 (diff)
downloadgdb-526e70c05f9132dc0a15af67943d2ecf9120660e.zip
gdb-526e70c05f9132dc0a15af67943d2ecf9120660e.tar.gz
gdb-526e70c05f9132dc0a15af67943d2ecf9120660e.tar.bz2
2003-06-11 David Carlton <carlton@bactrian.org>
* 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.
Diffstat (limited to 'gdb/block.h')
-rw-r--r--gdb/block.h8
1 files changed, 0 insertions, 8 deletions
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. */