* exec.c (xfer_memory): Add attrib argument.
[deliverable/binutils-gdb.git] / gdb / hpread.c
index 9ee526a6af8a1146db57d219c07a00f6d797e09c..d87edd6539a9a880ad89c1b44d65f87ac43f005c 100644 (file)
@@ -658,8 +658,8 @@ hpread_get_slt (int index, struct objfile *objfile)
 
 /* Get the low address associated with some symbol (typically the start
    of a particular source file or module).  Since that information is not
-   stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we must infer it from
-   the existance of DNTT_TYPE_FUNCTION symbols.  */
+   stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we
+   must infer it from the existence of DNTT_TYPE_FUNCTION symbols.  */
 
 static unsigned long
 hpread_get_textlow (int global, int index, struct objfile *objfile)
@@ -1064,7 +1064,7 @@ hpread_expand_symtab (struct objfile *objfile, int sym_offset, int sym_size,
 
   current_objfile = NULL;
 
-  return end_symtab (text_offset + text_size, objfile, 0);
+  return end_symtab (text_offset + text_size, objfile, SECT_OFF_TEXT (objfile));
 }
 \f
 
@@ -1822,7 +1822,7 @@ hpread_process_one_debug_symbol (union dnttentry *dn_bufp, char *name,
        case DNTT_TYPE_MODULE:
          /* Ending a module ends the symbol table for that module.  */
          valu = text_offset + text_size + offset;
-         (void) end_symtab (valu, objfile, 0);
+         (void) end_symtab (valu, objfile, SECT_OFF_TEXT (objfile));
          break;
 
        case DNTT_TYPE_FUNCTION:
This page took 0.023677 seconds and 4 git commands to generate.