summaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-03-07 11:13:07 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-03-07 11:13:07 +0000
commit9a5782ef78308aca91b7cb1629aa10189c1fc52d (patch)
tree18212291c25e94fdc788868dbbd2016fa7b5944b /gdb/elfread.c
parent1c84b4e7ca1cf3aedc94dd3a0d20184691f32fa9 (diff)
downloadgdb-9a5782ef78308aca91b7cb1629aa10189c1fc52d.tar.gz
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 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);