On Fri, 31 Oct 2003 13:35:51 -0800, Marcel Moolenaar <marcel@xcllnt.net> said:
Marcel> Since libunwind already does its own caching, we may be
Marcel> better off not caching in gdb.
That's true. However, note that by default, caching is not enabled
for remote unwinding (which is what gdb does). To enable caching, gdb
would have to make a call of the form:
unw_set_caching_policy(ADDR_SPACE, UNW_CACHE_GLOBAL);
Also, whenever something changes in the target that could invalidate
cached unwind info, gdb would have to call:
unw_flush_cache(ADDR_SPACE, LO, HI);