aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-24 21:13:08 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-24 21:13:08 +0000
commit44c75fb3683df7abd8d4042208e8279d1d84a404 (patch)
tree1c7ab1c866706534633c1d20557b48e562ff7955 /gdb/coffread.c
parentafebd689990f95b549e97adc1eb353c4104bd067 (diff)
downloadgdb-44c75fb3683df7abd8d4042208e8279d1d84a404.zip
gdb-44c75fb3683df7abd8d4042208e8279d1d84a404.tar.gz
gdb-44c75fb3683df7abd8d4042208e8279d1d84a404.tar.bz2
Call end_symtab() with SECT_OFF_TEXT (objfile).
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index f35609d..91fd8a4 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -475,7 +475,7 @@ coff_end_symtab (struct objfile *objfile)
last_source_start_addr = current_source_start_addr;
- symtab = end_symtab (current_source_end_addr, objfile, 0);
+ symtab = end_symtab (current_source_end_addr, objfile, SECT_OFF_TEXT (objfile));
if (symtab != NULL)
free_named_symtabs (symtab->filename);