/* Frame unwinder for frames using the libunwind library.
- Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009
+ Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
Written by Jeff Johnston, contributed by Red Hat Inc.
{
struct libunwind_descr *descr = GDBARCH_OBSTACK_ZALLOC (gdbarch,
struct libunwind_descr);
+
return descr;
}
libunwind_frame_dealloc_cache (struct frame_info *self, void *this_cache)
{
struct libunwind_frame_cache *cache = this_cache;
+
if (cache->as)
unw_destroy_addr_space_p (cache->as);
}
if (cache != NULL)
(*this_id) = frame_id_build (cache->base, cache->func_addr);
- else
- (*this_id) = null_frame_id;
}
struct value *
return frame_unwind_got_constant (this_frame, regnum, 0);
val = frame_unwind_got_constant (this_frame, regnum, intval);
}
- set_value_optimized_out (val, 1);
break;
}
}