aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 56d74fc..8709105 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-12 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (read_common_block): Fix formatting.
+
2011-05-12 Kwok Cheung Yeung <kcy@codesourcery.com>
* breakpoint.c (disable_breakpoint): Disable all locations
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index fb54655..346c0c7 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -7690,8 +7690,8 @@ read_common_block (struct die_info *die, struct dwarf2_cu *cu)
LONGEST offset;
sym = new_symbol (child_die, NULL, cu);
- if (sym != NULL &&
- handle_data_member_location (child_die, cu, &offset))
+ if (sym != NULL
+ && handle_data_member_location (child_die, cu, &offset))
{
SYMBOL_VALUE_ADDRESS (sym) = base + offset;
add_symbol_to_list (sym, &global_symbols);