aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-07-27 00:51:29 +0000
committerJason Molenda <jmolenda@apple.com>1999-07-27 00:51:29 +0000
commit5a2468f5c57481cb64b5c695cbed7559a1f77bd9 (patch)
treec9138514b62e97e589accab5dfca22cb6d789f41 /gdb/symfile.c
parent7fd9c191355658e46a200799e25042a5e492a4d2 (diff)
downloadgdb-5a2468f5c57481cb64b5c695cbed7559a1f77bd9.zip
gdb-5a2468f5c57481cb64b5c695cbed7559a1f77bd9.tar.gz
gdb-5a2468f5c57481cb64b5c695cbed7559a1f77bd9.tar.bz2
import gdb-1999-07-26 snapshot
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 5a9bf63..fcf8326 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -471,6 +471,7 @@ default_symfile_offsets (objfile, addr)
objfile->num_sections = SECT_OFF_MAX;
section_offsets = (struct section_offsets *)
obstack_alloc (&objfile->psymbol_obstack, SIZEOF_SECTION_OFFSETS);
+ memset (section_offsets, 0, SIZEOF_SECTION_OFFSETS);
for (i = 0; i < SECT_OFF_MAX; i++)
ANOFFSET (section_offsets, i) = addr;