+2005-11-14 James E Wilson <wilson@specifix.com>
+
+ PR 2024
+ * dwarf2loc.c (dwarf_expr_frame_base): Use get_frame_address_in_block
+ instead of get_frame_pc.
+ (loclist_read_variable): Likewise.
+
2005-11-14 Paul Gilliam <pgilliam@us.ibm.com>
* ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Copy code from
if (SYMBOL_OPS (framefunc) == &dwarf2_loclist_funcs)
{
struct dwarf2_loclist_baton *symbaton;
+ struct frame_info *frame = debaton->frame;
+
symbaton = SYMBOL_LOCATION_BATON (framefunc);
*start = find_location_expression (symbaton, length,
- get_frame_pc (debaton->frame));
+ get_frame_address_in_block (frame));
}
else
{
size_t size;
data = find_location_expression (dlbaton, &size,
- frame ? get_frame_pc (frame) : 0);
+ frame ? get_frame_address_in_block (frame)
+ : 0);
if (data == NULL)
{
val = allocate_value (SYMBOL_TYPE (symbol));