* dbxread.c (record_minimal_symbol): Record the section
[deliverable/binutils-gdb.git] / gdb / nlmread.c
index 79dcfe3f79befd2c7e20812937bcc1db66f040ec..3895053282f753eaee3a562b1de4e5ed3f51123b 100644 (file)
@@ -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. */
 
This page took 0.022942 seconds and 4 git commands to generate.