summaryrefslogtreecommitdiff
path: root/gdb/libunwind-frame.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2003-12-13 03:51:56 +0000
committerKevin Buettner <kevinb@redhat.com>2003-12-13 03:51:56 +0000
commitaf330e3409f14823c6e86bc5d6d35de4aa00f966 (patch)
treee983d2f441a4aba8f316250ca67a4fce7163d7fe /gdb/libunwind-frame.c
parent11a40a4764e3f556a720372beb15dba15f914737 (diff)
downloadgdb-af330e3409f14823c6e86bc5d6d35de4aa00f966.tar.gz
From David Mosberger <davidm@hpl.hp.com>:
* libunwind-frame.c (unw_find_dyn_list_p): Replace most arguments with a single unw_dyn_info_t pointer. (libunwind_find_dyn_list): Likewise. * libunwind-frame.h: Likewise. * ia64-tdep.c (ia64_find_unwind_table): Switch to using UNW_INFO_FORMAT_REMOTE_TABLE so we can avoid having to read in the entire unwind-table at once. Support for this table format has been added to libunwind v0.95. (ia64_find_proc_info_x): Adjust for remote-unwind-table changes. (ia64_get_dyn_info_list): Adjust for interface change for libunwind_find_dyn_list().
Diffstat (limited to 'gdb/libunwind-frame.c')
-rw-r--r--gdb/libunwind-frame.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gdb/libunwind-frame.c b/gdb/libunwind-frame.c
index d23ec56057e..bf0c36d9f60 100644
--- a/gdb/libunwind-frame.c
+++ b/gdb/libunwind-frame.c
@@ -58,8 +58,8 @@ static int (*unw_init_remote_p) (unw_cursor_t *, unw_addr_space_t, void *);
static unw_addr_space_t (*unw_create_addr_space_p) (unw_accessors_t *, int);
static int (*unw_search_unwind_table_p) (unw_addr_space_t, unw_word_t, unw_dyn_info_t *,
unw_proc_info_t *, int, void *);
-static unw_word_t (*unw_find_dyn_list_p) (unw_addr_space_t, void *, size_t,
- unw_word_t, unw_word_t, void *);
+static unw_word_t (*unw_find_dyn_list_p) (unw_addr_space_t, unw_dyn_info_t *,
+ void *);
struct libunwind_frame_cache
@@ -170,11 +170,10 @@ libunwind_frame_cache (struct frame_info *next_frame, void **this_cache)
return cache;
}
-unw_word_t
-libunwind_find_dyn_list (unw_addr_space_t as, void *table, size_t table_size,
- unw_word_t segbase, unw_word_t gp, void *arg)
+unw_word_t
+libunwind_find_dyn_list (unw_addr_space_t as, unw_dyn_info_t *di, void *arg)
{
- return unw_find_dyn_list_p (as, table, table_size, segbase, gp, arg);
+ return unw_find_dyn_list_p (as, di, arg);
}
static const struct frame_unwind libunwind_frame_unwind =