aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-11-12 19:29:04 +0000
committerDaniel Jacobowitz <drow@false.org>2009-11-12 19:29:04 +0000
commitba950e4de515992b73b879bf39732daa8351eb45 (patch)
treeaa531d7ae03006db44917548c3508032acc1e342 /gdb
parent20efc6895709d2677755d622b4145ffb52a34e06 (diff)
downloadgdb-ba950e4de515992b73b879bf39732daa8351eb45.zip
gdb-ba950e4de515992b73b879bf39732daa8351eb45.tar.gz
gdb-ba950e4de515992b73b879bf39732daa8351eb45.tar.bz2
Correct whitespace in previous patch.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/dwarf2read.c12
1 files 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));
}