diff options
author | Kevin Buettner <kevinb@redhat.com> | 2003-12-13 03:51:56 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2003-12-13 03:51:56 +0000 |
commit | 503ff15d3831702b6020a5e0f37540cbd41c77d2 (patch) | |
tree | 367596708b459f9314dc3d07750ac94fb2e3336a /gdb/libunwind-frame.c | |
parent | 3a4c93712ee832e295da2fe741210f341c1594e3 (diff) | |
download | gdb-503ff15d3831702b6020a5e0f37540cbd41c77d2.zip gdb-503ff15d3831702b6020a5e0f37540cbd41c77d2.tar.gz gdb-503ff15d3831702b6020a5e0f37540cbd41c77d2.tar.bz2 |
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.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gdb/libunwind-frame.c b/gdb/libunwind-frame.c index d23ec56..bf0c36d 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 = |