aboutsummaryrefslogtreecommitdiff
path: root/gdb/libunwind-frame.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2007-06-12 15:21:27 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2007-06-12 15:21:27 +0000
commit272dfcfd78cd900157ff2e4c8c8ed95645dae4f6 (patch)
tree13d19819273e00972d49fd4e14f1bf10157b82b2 /gdb/libunwind-frame.h
parent4339e69e64f47a31e706ba9c1e7c00945c1620ff (diff)
downloadgdb-272dfcfd78cd900157ff2e4c8c8ed95645dae4f6.zip
gdb-272dfcfd78cd900157ff2e4c8c8ed95645dae4f6.tar.gz
gdb-272dfcfd78cd900157ff2e4c8c8ed95645dae4f6.tar.bz2
* frame-unwind.h (frame_dealloc_cache_ftype): Define.
(struct frame_unwind): Add dealloc_cache. * frame.c (reinit_frame_cache): Call dealloc_cache on all caches. * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare. * libunwind-frame.c (libunwind_frame_dealloc_cache): Define. (libunwind_frame_unwind): Set dealloc_cache. * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache.
Diffstat (limited to 'gdb/libunwind-frame.h')
-rw-r--r--gdb/libunwind-frame.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/libunwind-frame.h b/gdb/libunwind-frame.h
index 499055a..03a1395 100644
--- a/gdb/libunwind-frame.h
+++ b/gdb/libunwind-frame.h
@@ -53,6 +53,7 @@ void libunwind_frame_prev_register (struct frame_info *next_frame, void **this_c
int regnum, int *optimizedp,
enum lval_type *lvalp, CORE_ADDR *addrp,
int *realnump, gdb_byte *valuep);
+void libunwind_frame_dealloc_cache (struct frame_info *self, void *cache);
CORE_ADDR libunwind_frame_base_address (struct frame_info *next_frame, void **this_cache);
int libunwind_is_initialized (void);