We renamed VALUE_FRAME_ID to VALUE_NEXT_FRAME_ID recently,
https://sourceware.org/ml/gdb-patches/2016-11/msg00018.html
and we should use VALUE_NEXT_FRAME_ID in value_from_component
too.
gdb:
2016-11-22 Yao Qi <yao.qi@linaro.org>
* value.c (value_from_component): Use VALUE_NEXT_FRAME_ID
instead of VALUE_FROM_ID.
+2016-11-22 Yao Qi <yao.qi@linaro.org>
+
+ * value.c (value_from_component): Use VALUE_NEXT_FRAME_ID
+ instead of VALUE_FROM_ID.
+
2016-11-21 Simon Marchi <simon.marchi@ericsson.com>
* Makefile.in (%o: $(srcdir)/mi/%.c): Add missing POSTCOMPILE
v->offset = value_offset (whole) + offset + value_embedded_offset (whole);
set_value_component_location (v, whole);
VALUE_REGNUM (v) = VALUE_REGNUM (whole);
- VALUE_FRAME_ID (v) = VALUE_FRAME_ID (whole);
+ VALUE_NEXT_FRAME_ID (v) = VALUE_NEXT_FRAME_ID (whole);
return v;
}