aboutsummaryrefslogtreecommitdiff
path: root/gdb/valarith.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r--gdb/valarith.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index 54f332a..cc9a77f 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -122,7 +122,6 @@ value_add (struct value *arg1, struct value *arg2)
retval = value_from_pointer (valptrtype,
value_as_address (valptr)
+ (sz * value_as_long (valint)));
- VALUE_BFD_SECTION (retval) = VALUE_BFD_SECTION (valptr);
return retval;
}