aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlmread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nlmread.c')
-rw-r--r--gdb/nlmread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/nlmread.c b/gdb/nlmread.c
index 70328c9..2ce4c2e 100644
--- a/gdb/nlmread.c
+++ b/gdb/nlmread.c
@@ -266,7 +266,8 @@ nlm_symfile_offsets (objfile, addr)
{
struct section_offsets *section_offsets;
int i;
-
+
+ objfile->num_sections = SECT_OFF_MAX;
section_offsets = (struct section_offsets *)
obstack_alloc (&objfile -> psymbol_obstack,
sizeof (struct section_offsets) +
@@ -281,7 +282,7 @@ nlm_symfile_offsets (objfile, addr)
}
-/* Register that we are able to handle NLM file format. */
+/* Register that we are able to handle NLM file format. */
static struct sym_fns nlm_sym_fns =
{