From c05d19c5b670e1d9c1b1d5adc4e47561474b2f4b Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 7 Mar 2011 11:13:08 +0000 Subject: Minor reformatting in elfread.c:elf_symtab_read gdb/ChangeLog: * elfread.c (elf_symtab_read): Minor reformatting. --- gdb/ChangeLog | 4 ++++ gdb/elfread.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c3eb14f..f3c481d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2011-03-07 Joel Brobecker + * elfread.c (elf_symtab_read): Minor reformatting. + +2011-03-07 Joel Brobecker + * objc-lang.c (selectors_info): Minor reformatting. 2011-03-07 Joel Brobecker diff --git a/gdb/elfread.c b/gdb/elfread.c index c59134b..54c7fa3 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); -- cgit v1.1