aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-03-07 11:13:08 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-03-07 11:13:08 +0000
commitc05d19c5b670e1d9c1b1d5adc4e47561474b2f4b (patch)
tree7cea59367774a20410c46917e7f30a40830961af /gdb/elfread.c
parent3e6ef9e42e8f3af7712957851bcca5e34ff3b650 (diff)
downloadgdb-c05d19c5b670e1d9c1b1d5adc4e47561474b2f4b.zip
gdb-c05d19c5b670e1d9c1b1d5adc4e47561474b2f4b.tar.gz
gdb-c05d19c5b670e1d9c1b1d5adc4e47561474b2f4b.tar.bz2
Minor reformatting in elfread.c:elf_symtab_read
gdb/ChangeLog: * elfread.c (elf_symtab_read): Minor reformatting.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c3
1 files changed, 1 insertions, 2 deletions
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);