+2012-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Removed unused code.
+ * libunwind-frame.c (libunwind_frame_unwind)
+ (libunwind_frame_base_address): Remove.
+ * libunwind-frame.h (libunwind_frame_base_address): Remove declaration.
+
2012-03-04 Yao Qi <yao@codesourcery.com>
* common/agent.c (gdb_connect_sync_socket): Add _ markup and
return unw_find_dyn_list_p (as, di, arg);
}
-static const struct frame_unwind libunwind_frame_unwind =
-{
- NORMAL_FRAME,
- default_frame_unwind_stop_reason,
- libunwind_frame_this_id,
- libunwind_frame_prev_register,
- NULL,
- libunwind_frame_sniffer,
- libunwind_frame_dealloc_cache,
-};
-
/* Verify if there is sufficient libunwind information for the frame to use
libunwind frame unwinding. */
int
return val;
}
-CORE_ADDR
-libunwind_frame_base_address (struct frame_info *this_frame, void **this_cache)
-{
- struct libunwind_frame_cache *cache =
- libunwind_frame_cache (this_frame, this_cache);
-
- if (cache == NULL)
- return (CORE_ADDR)NULL;
- return cache->base;
-}
-
/* The following is a glue routine to call the libunwind unwind table
search function to get unwind information for a specified ip address. */
int
struct value *libunwind_frame_prev_register (struct frame_info *this_frame,
void **this_cache, int regnum);
void libunwind_frame_dealloc_cache (struct frame_info *self, void *cache);
-CORE_ADDR libunwind_frame_base_address (struct frame_info *this_frame,
- void **this_cache);
int libunwind_is_initialized (void);