aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/elfread.c3
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);