diff options
author | David Carlton <carlton@bactrian.org> | 2003-06-11 22:27:17 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-06-11 22:27:17 +0000 |
commit | 526e70c05f9132dc0a15af67943d2ecf9120660e (patch) | |
tree | 45a01e57386fa45d0b48c6a524a250ff68fb22b5 /gdb/mdebugread.c | |
parent | 33c081509ef98f9ea2702cb8e6150e0bbf277ab2 (diff) | |
download | gdb-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/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 379a363..787b95b 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -4008,10 +4008,6 @@ psymtab_to_symtab_1 (struct partial_symtab *pst, char *filename) end_stabs (); } - /* Sort the symbol table now, we are done adding symbols to it. - We must do this before parse_procedure calls lookup_symbol. */ - sort_symtab_syms (st); - /* There used to be a call to sort_blocks here, but this should not be necessary for stabs symtabs. And as sort_blocks modifies the start address of the GLOBAL_BLOCK to the FIRST_LOCAL_BLOCK, @@ -4206,9 +4202,6 @@ psymtab_to_symtab_1 (struct partial_symtab *pst, char *filename) st->primary = 1; - /* Sort the symbol table now, we are done adding symbols to it. */ - sort_symtab_syms (st); - sort_blocks (st); } |