Minor reformatting in elfread.c:elf_symtab_read

gdb/ChangeLog:

        * elfread.c (elf_symtab_read): Minor reformatting.
This commit is contained in:
Joel Brobecker
2011-03-07 11:13:08 +00:00
parent 3e6ef9e42e
commit c05d19c5b6
2 changed files with 5 additions and 2 deletions

View File

@@ -460,8 +460,7 @@ elf_symtab_read (struct objfile *objfile, int type,
need to allocate max_index aadditional
elements. */
size = (sizeof (struct stab_section_info)
+ (sizeof (CORE_ADDR)
* max_index));
+ (sizeof (CORE_ADDR) * max_index));
sectinfo = (struct stab_section_info *)
xmalloc (size);
memset (sectinfo, 0, size);