aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-05-12 15:59:46 +0000
committerTom Tromey <tromey@redhat.com>2011-05-12 15:59:46 +0000
commite8d28ef4f324014dfd424acab461bbf4393b0b69 (patch)
treee99939e6caeb65855151e54e74710a9f1eac0f85
parent58ad575ff3bfa4f1fe93ad68a0660588d54f5b0f (diff)
downloadgdb-e8d28ef4f324014dfd424acab461bbf4393b0b69.zip
gdb-e8d28ef4f324014dfd424acab461bbf4393b0b69.tar.gz
gdb-e8d28ef4f324014dfd424acab461bbf4393b0b69.tar.bz2
* dwarf2read.c (read_common_block): Fix formatting.
-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);