struct libunwind_frame_cache *cache;
struct libunwind_descr *descr;
struct gdbarch *gdbarch = get_frame_arch (this_frame);
- int i, ret;
+ int ret;
if (*this_cache)
return (struct libunwind_frame_cache *) *this_cache;
unw_addr_space_t as;
struct libunwind_descr *descr;
struct gdbarch *gdbarch = get_frame_arch (this_frame);
- int i, ret;
+ int ret;
/* To test for libunwind unwind support, initialize a cursor to
the current frame and try to back up. We use this same method
{
struct libunwind_frame_cache *cache =
libunwind_frame_cache (this_frame, this_cache);
- struct gdbarch *gdbarch = get_frame_arch (this_frame);
- void *ptr;
- unw_cursor_t *c;
unw_save_loc_t sl;
- int i, ret;
+ int ret;
unw_word_t intval;
unw_fpreg_t fpval;
unw_regnum_t uw_regnum;
unw_addr_space_t as;
struct libunwind_descr *descr;
struct gdbarch *gdbarch = get_frame_arch (this_frame);
- int i, ret;
+ int ret;
/* To test for libunwind unwind support, initialize a cursor to the
current frame and try to back up. We use this same method when
unw_word_t bsp, sof, cfm, psr, ip;
struct frame_info *this_frame = (struct frame_info *) arg;
struct gdbarch *gdbarch = get_frame_arch (this_frame);
- enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
- long new_sof, old_sof;
/* We never call any libunwind routines that need to write registers. */
gdb_assert (!write);
unw_word_t bsp, sof, cfm, psr, ip;
struct regcache *regcache = (struct regcache *) arg;
struct gdbarch *gdbarch = regcache->arch ();
- enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
- long new_sof, old_sof;
/* We never call any libunwind routines that need to write registers. */
gdb_assert (!write);
gdb_byte buf[8];
CORE_ADDR bsp;
struct frame_id id = outer_frame_id;
- CORE_ADDR prev_ip;
libunwind_frame_this_id (this_frame, this_cache, &id);
if (frame_id_eq (id, outer_frame_id))
int need_unwind_info, void *arg)
{
enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
- unw_dyn_info_t di;
- int ret;
gdb_byte buf[32];
const char *annex = core_addr_to_string (ip);
LONGEST res;