aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 1dfc6d5..4e8d1fe 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -2758,7 +2758,7 @@ value_static_field (struct type *type, int fieldno)
else
{
retval = value_at_lazy (TYPE_FIELD_TYPE (type, fieldno),
- MSYMBOL_VALUE_ADDRESS (msym.minsym));
+ BMSYMBOL_VALUE_ADDRESS (msym));
}
}
else
@@ -2974,7 +2974,7 @@ value_fn_field (struct value **arg1p, struct fn_field *f,
set_value_address (v,
gdbarch_convert_from_func_ptr_addr
- (gdbarch, MSYMBOL_VALUE_ADDRESS (msym.minsym), &current_target));
+ (gdbarch, BMSYMBOL_VALUE_ADDRESS (msym), &current_target));
}
if (arg1p)