diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <brobecker@adacore.com> + * elfread.c (elf_symtab_read): Minor reformatting. + +2011-03-07 Joel Brobecker <brobecker@adacore.com> + * objc-lang.c (selectors_info): Minor reformatting. 2011-03-07 Joel Brobecker <brobecker@adacore.com> 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); |