From: Joel Brobecker Date: Mon, 7 Mar 2011 11:13:08 +0000 (+0000) Subject: Minor reformatting in elfread.c:elf_symtab_read X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c05d19c5b670e1d9c1b1d5adc4e47561474b2f4b;p=binutils-gdb.git Minor reformatting in elfread.c:elf_symtab_read gdb/ChangeLog: * elfread.c (elf_symtab_read): Minor reformatting. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c3eb14f1ead..f3c481d7cda 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-03-07 Joel Brobecker + + * elfread.c (elf_symtab_read): Minor reformatting. + 2011-03-07 Joel Brobecker * objc-lang.c (selectors_info): Minor reformatting. diff --git a/gdb/elfread.c b/gdb/elfread.c index c59134bf888..54c7fa33598 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -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);