From ba950e4de515992b73b879bf39732daa8351eb45 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 12 Nov 2009 19:29:04 +0000 Subject: [PATCH] Correct whitespace in previous patch. --- gdb/dwarf2read.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 33a83e2..381350f 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -4785,18 +4785,18 @@ dwarf2_add_member_fn (struct field_info *fip, struct die_info *die, else if (attr) { /* We only support trivial expressions here. This hack will work - for v3 classes, which always start with the vtable pointer. */ + for v3 classes, which always start with the vtable pointer. */ if (attr_form_is_block (attr) && DW_BLOCK (attr)->size > 0 && DW_BLOCK (attr)->data[0] == DW_OP_deref) { struct dwarf_block blk; blk.size = DW_BLOCK (attr)->size - 1; blk.data = DW_BLOCK (attr)->data + 1; - fnp->voffset = decode_locdesc (&blk, cu); - if ((fnp->voffset % cu->header.addr_size) != 0) - dwarf2_complex_location_expr_complaint (); - else - fnp->voffset /= cu->header.addr_size; + fnp->voffset = decode_locdesc (&blk, cu); + if ((fnp->voffset % cu->header.addr_size) != 0) + dwarf2_complex_location_expr_complaint (); + else + fnp->voffset /= cu->header.addr_size; fnp->voffset += 2; fnp->fcontext = TYPE_TARGET_TYPE (TYPE_FIELD_TYPE (this_type, 0)); } -- 2.7.4