diff options
Diffstat (limited to 'gdb/solib-aix.c')
-rw-r--r-- | gdb/solib-aix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-aix.c b/gdb/solib-aix.c index 8f335f6a76c..78d2753d467 100644 --- a/gdb/solib-aix.c +++ b/gdb/solib-aix.c @@ -470,7 +470,7 @@ solib_aix_get_section_offsets (struct objfile *objfile, bfd *abfd = objfile->obfd; int i; - offsets = XCALLOC (objfile->num_sections, struct section_offsets); + offsets = XCNEWVEC (struct section_offsets, objfile->num_sections); /* .text */ |