diff options
author | Stu Grossman <grossman@cygnus> | 1994-04-26 17:14:52 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1994-04-26 17:14:52 +0000 |
commit | a66e8382def5fdeb8e291748ce6f1f639a0a63f2 (patch) | |
tree | 0a94fe06ff61d6bee8e4f9c407b0f61d39045fe1 /gdb/nlmread.c | |
parent | cde73501070130c57a352d07b9021a8fb0fa3227 (diff) | |
download | gdb-a66e8382def5fdeb8e291748ce6f1f639a0a63f2.zip gdb-a66e8382def5fdeb8e291748ce6f1f639a0a63f2.tar.gz gdb-a66e8382def5fdeb8e291748ce6f1f639a0a63f2.tar.bz2 |
* dbxread.c (record_minimal_symbol): Record the section
associated with the symbol to make dynmaic relocation work.
* (dbx_symfile_read, process_one_symbol): Fixes to work around
Solaris brain-damage which don't apply to relocatable object
files.
* (stabsect_build_psymtabs): New routine to read stabs out of an
arbitrarily named section.
* nlmread.c (nlm_symtab_read): Read ALL syms from the NLM, not just
globals.
* (nlm_symfile_read): Call stabsect_build_psymtabs to read the
stabs out of the nlm.
* partial-stabs.h (cases 'f' & 'F'): Fixes to work around Solaris
brain-damage which don't apply to relocatable object files.
* remote.c (putpkt): Improve error reporting and error handling.
* stabsread.c (define_symbol, scan_file_globals): Record section
info in sym.
Diffstat (limited to 'gdb/nlmread.c')
-rw-r--r-- | gdb/nlmread.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/nlmread.c b/gdb/nlmread.c index 79dcfe3..3895053 100644 --- a/gdb/nlmread.c +++ b/gdb/nlmread.c @@ -144,7 +144,7 @@ nlm_symtab_read (abfd, addr, objfile) for (i = 0; i < number_of_symbols; i++) { sym = symbol_table[i]; - if (sym -> flags & BSF_GLOBAL) + if (/*sym -> flags & BSF_GLOBAL*/ 1) { /* Bfd symbols are section relative. */ symaddr = sym -> value + sym -> section -> vma; @@ -227,6 +227,9 @@ nlm_symfile_read (objfile, section_offsets, mainline) nlm_symtab_read (abfd, offset, objfile); + stabsect_build_psymtabs (objfile, section_offsets, mainline, ".stab", + ".stabstr"); + /* FIXME: We could locate and read the optional native debugging format here and add the symbols to the minimal symbol table. */ |