summaryrefslogtreecommitdiff
path: root/gdb/dwarf2-frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2-frame.c')
-rw-r--r--gdb/dwarf2-frame.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c
index 8c624198453..27626084346 100644
--- a/gdb/dwarf2-frame.c
+++ b/gdb/dwarf2-frame.c
@@ -730,7 +730,8 @@ dwarf2_frame_cache (struct frame_info *next_frame, void **this_cache)
}
static void
-dwarf2_frame_this_id (struct frame_info *next_frame, void **this_cache,
+dwarf2_frame_this_id (const struct frame_unwind *self,
+ struct frame_info *next_frame, void **this_cache,
struct frame_id *this_id)
{
struct dwarf2_frame_cache *cache =
@@ -740,7 +741,8 @@ dwarf2_frame_this_id (struct frame_info *next_frame, void **this_cache,
}
static void
-dwarf2_frame_prev_register (struct frame_info *next_frame, void **this_cache,
+dwarf2_frame_prev_register (const struct frame_unwind *self,
+ struct frame_info *next_frame, void **this_cache,
int regnum, int *optimizedp,
enum lval_type *lvalp, CORE_ADDR *addrp,
int *realnump, void *valuep)
@@ -861,7 +863,8 @@ dwarf2_frame_sniffer (struct frame_info *next_frame)
response to the "info frame" command. */
static CORE_ADDR
-dwarf2_frame_base_address (struct frame_info *next_frame, void **this_cache)
+dwarf2_frame_base_address (const struct frame_base *self,
+ struct frame_info *next_frame, void **this_cache)
{
struct dwarf2_frame_cache *cache =
dwarf2_frame_cache (next_frame, this_cache);
@@ -1608,6 +1611,6 @@ void _initialize_dwarf2_frame (void);
void
_initialize_dwarf2_frame (void)
{
- dwarf2_frame_data = register_gdbarch_data (dwarf2_frame_init);
+ dwarf2_frame_data = register_gdbarch_data (NULL, dwarf2_frame_init);
dwarf2_frame_objfile_data = register_objfile_data ();
}