From 205eec68c50fff23eaf9ada2e662692d2bc0a4cd Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 12 May 2011 15:59:29 +0000 Subject: [PATCH] * dwarf2read.c (read_common_block): Fix formatting. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1abb77fc35a..651e84c45ca 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-05-12 Tom Tromey + + * dwarf2read.c (read_common_block): Fix formatting. + 2011-05-11 Tom Tromey * dwarf2read.c (handle_data_member_location): New function. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 1c0e5c0f845..7e74cea8c0a 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -7638,8 +7638,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); -- 2.47.2