diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-10-24 21:13:08 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-10-24 21:13:08 +0000 |
commit | 44c75fb3683df7abd8d4042208e8279d1d84a404 (patch) | |
tree | 1c7ab1c866706534633c1d20557b48e562ff7955 /gdb/hpread.c | |
parent | afebd689990f95b549e97adc1eb353c4104bd067 (diff) | |
download | gdb-44c75fb3683df7abd8d4042208e8279d1d84a404.zip gdb-44c75fb3683df7abd8d4042208e8279d1d84a404.tar.gz gdb-44c75fb3683df7abd8d4042208e8279d1d84a404.tar.bz2 |
Call end_symtab() with SECT_OFF_TEXT (objfile).
Diffstat (limited to 'gdb/hpread.c')
-rw-r--r-- | gdb/hpread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c index 9ee526a..4e25083 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -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)); } @@ -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: |