* buildsym.c (end_symtab): Remove sort_pending and sort_linevec
authorJeff Law <law@redhat.com>
Mon, 8 Jan 1996 17:55:25 +0000 (17:55 +0000)
committerJeff Law <law@redhat.com>
Mon, 8 Jan 1996 17:55:25 +0000 (17:55 +0000)
commit436d4143274d6bb3c32632f7ae1bd82cda5128b5
tree1b03454d0f21a99f7d5f601c3f7d023edfea7e8f
parent01082eaf1926a56afc7b4cb51a25d3560ee31f5b
    * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
        arguments.  Sorting is now dependent on OBJF_REORDERED.  All
        callers/references changed.
        * dbxread.c (read_ofile_symtab): Correctly determine value for
        last_source_start_addr for reordered executables.
        (process_one_symbol): Handle N_FUN with no name as an end of
        function marker.
        * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
        is the high text address for a psymtab.
        (case N_SO): Likewise.
        (case N_FUN): Handle N_FUN with no name as an end of function
        marker.
        * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
        at the same address rather than a random subset of them.
        * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
        * elfread.c (elf_symfile_init): Similarly.
        * somread.c (som_symfile_init): Similarly.
        * xcoffread.c (xcoff_symfile_init): Similarly.

Support for debugging reordered executables.  Remaining mentor vm
changes.
12 files changed:
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/dwarfread.c
gdb/elfread.c
gdb/hpread.c
gdb/mdebugread.c
gdb/minsyms.c
gdb/os9kread.c
gdb/partial-stab.h
gdb/somread.c
gdb/xcoffread.c