1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-28 10:07:37 +01:00

Commit graph

  • c85fbb10f8 Adjust for IA64_FLAG_SIGTRAMP -> c->is_signal_frame change. (update_frame_state): Clear is_signal_frame to zero near the end. Clear pi_valid instead of calling ia64_make_proc_info(). mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 217ad52ca9 Adjust for IA64_FLAG_BIG_ENDIAN -> as->big_endian change. (ia64_access_regs): Call ia64_make_proc_info() to ensure c->pi.gp is valid before returning it. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 3919f4ffb6 Adjust for IA64_FLAG_BIG_ENDIAN -> as->big_endian change. (ia64_access_regs): Call ia64_make_proc_info() to ensure c->pi.gp is valid before returning it. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • d3da356368 Add copyright header and forward-declration of ia64_cursor. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 01e35a5d93 Add copyright header and forward-declration of ia64_cursor. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • b29266f262 (unw_sysdep_search_unwind_table): Remove. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • a84826659d (unw_resume): Call ia64_make_proc_info() to ensure c->is_signal_frame is valid. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • ea24716375 (unw_resume): Call ia64_make_proc_info() to ensure c->is_signal_frame is valid. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • b6251b0f41 (unw_proc_info_t): Remove proc_name member and replace it with unw_get_proc_name(). The former didn't work because of memory management issues (there was no reasonable way to allocate/free the memory needed for the string). Shorten unwind_info_size from size_t to int. (unw_accessors_t): Add new callbacks put_unwind_info() and get_dyn_info_list_addr(). (unw_create_addr_space): Take byte-order as second argument. (unw_get_proc_name): New routine. (unw_find_dynamic_proc_info): Remove (it's brother is in internal.h now). (unw_flush_cache): Add missing declaration. (unw_set_caching_policy): Ditto. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 4b3e3e5f9f (unw_local_addr_space): Initialize statically, so it's valid right away. (put_unwind_info): New function. (get_dyn_info_list_addr): Ditto. (ia64_init): Initialize big_endian member in local_addr_space and put_unwind_info and get_dyn_info_list_addr callbacks in the accessor's structure. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • ef007fb585 (unw_local_addr_space): Initialize statically, so it's valid right away. (put_unwind_info): New function. (get_dyn_info_list_addr): Ditto. (ia64_init): Initialize big_endian member in local_addr_space and put_unwind_info and get_dyn_info_list_addr callbacks in the accessor's structure. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 4e2f5c0fbf (unw_is_signal_frame): Use "is_signal_frame" instead of IA64_FLAG_SIGTRAMP flag bit. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 495a5a547f (unw_is_signal_frame): Use "is_signal_frame" instead of IA64_FLAG_SIGTRAMP flag bit. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 68c95d3f64 (unw_get_proc_info): Call ia64_make_proc_info() to ensure that the proc_info is valid. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 0a574c0936 (unw_get_proc_info): Call ia64_make_proc_info() to ensure that the proc_info is valid. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 35697758fd (unw_get_accessors): If libunwind hasn't been initialized yet, do so first to ensure that the local accessors are valid. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 805bb72ed0 (unw_get_accessors): If libunwind hasn't been initialized yet, do so first to ensure that the local accessors are valid. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 8c72d1c277 (unw_create_addr_space): Support "byte_order" argument. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 02e59a8939 (unw_create_addr_space): Support "byte_order" argument. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 57a6d3699d (script_finalize): Also initialize the proc_info. (build_script): For signal-frames, generate an instruction that will set is_signal_frame to TRUE. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 8f82941a84 (script_finalize): Also initialize the proc_info. (build_script): For signal-frames, generate an instruction that will set is_signal_frame to TRUE. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • eb1797b8da (main): Clear di to zero before filling in any values. Remove return-value checking of _U_dyn_register() and _U_dyn_cancel(). mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 13032ebce3 (local_find_proc_info): New function. (remote_find_proc_info): Ditto. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • ea3b3225d8 (local_find_proc_info): New function. (remote_find_proc_info): Ditto. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • afd39636d6 (libunwind_la_SOURCES_common): Add get_proc_name.c, dyn-cancel.c, dyn-extract.c, {G,L}find_dynamic_proc_info, and {G,L}put_dynamic_unwind_info. (libunwind_la_SOURCES): Rename generic files that get compiled twice from unw_foo to Gfoo. Similarly, rename local-only files from Lunw_foo to Lfoo. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • dea15a73d0 (is_local_addr_space): New function. (tdep_search_unwind_table): Rename from _Uia64_search_unwind_table() and declare as HIDDEN. Allocate (if needed) and fill in unwind_info only if requested. (tdep_put_unwind_info): New function. (_Uia64_find_proc_info): Add "need_unwind_info" argument and declare as HIDDEN. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 9420207ac6 (include_HEADERS_common): Mention libunwind-dynamic.h. (EXTRA_DIST): Mention include/internal.h, include/tdep-ia64.h, and include/ia64/script.h. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • f96f12879c (get_proc_info): Take additional "need_unwind_info" argument and set pi_valid and pi_is_dynamic flags in the cursor structure. (put_unwind_info): New function. (create_state_record_for): Release unwind-info via a call to put_unwind_info() after we're done parsing it. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 8578dc1e6d (get_proc_info): Take additional "need_unwind_info" argument and set pi_valid and pi_is_dynamic flags in the cursor structure. (put_unwind_info): New function. (create_state_record_for): Release unwind-info via a call to put_unwind_info() after we're done parsing it. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 2e0505826f (common_init): Clear "is_signal_frame". Instead of calling ia64_make_proc_info(), simply clear "pi_valid" flag. mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 653c9006ac (Logical change 1.30) mostang.com!davidm 2002-12-12 09:17:41 +0000
  • 991519dea7 Update API to support dynamically generated code. This is still work-in-progress and rough on the edges, but at least one test-program that uses dynamic code-generation is working now (see tests/test-dyn1.c). mostang.com!davidm 2002-12-03 08:19:58 +0000
  • dfc08eaef4 Rewrite to resemble something that actually might work. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 57f5fae02b Regenerate. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 3b836fed25 Mention automake-cache directory. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • b691bb1300 (Logical change 1.29) mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 612e33825c Initial revision mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 1b7547ec76 Add section title for dynamic unwind info (well, it's a start... ;-). mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 50d7a155ff Add include of <libunwind-dyamic.h>. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 4ea5c42eba Add LIBUNWIND__THREAD test. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 214827cae8 (update_frame_state): Do an early return if IP is zero (end of chain). mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 1c1b6a171f (unw_regname): Remove names for UNW_REG_PROC_START, UNW_REG_HANDLER, and UNW_REG_LSDA. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 83f2952a86 (unw_get_save_loc): Remove handling of UNW_REG_PROC_START, UNW_REG_HANDLER, and UNW_REG_LSDA. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • b1c1f146cc (struct unw_ia64_table): Delete. (unw_sysdep_search_unwind_table): New macro. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 22c1128cf7 (struct ia64_table_entry): New type (moved from unwind_i.h). (lookup): New function (moved from parser.c). (_Uia64_search_unwind_table): New function (based on code in parser.c). (kernel_table): New variable. (get_kernel_table): Relocate the kernel table's "info_offset" values as we count it. Adjust for new callback-interface. (callback): Adjust for new interface. (_Uia64_find_proc_info): Rename from _Uia64_glibc_acquire_unwind_info). mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 42fdeb430b (struct ia64_table_entry): New type (moved from unwind_i.h). (lookup): New function (moved from parser.c). (_Uia64_search_unwind_table): New function (based on code in parser.c). (kernel_table): New variable. (get_kernel_table): Relocate the kernel table's "info_offset" values as we count it. Adjust for new callback-interface. (callback): Adjust for new interface. (_Uia64_find_proc_info): Rename from _Uia64_glibc_acquire_unwind_info). mostang.com!davidm 2002-12-03 08:19:58 +0000
  • d49825fd74 (struct ia64_script): Change type of "pi" member from struct ia64_proc_info to unw_proc_info_t. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • c97d8cdab4 (struct ia64_proc_info): Delete. (struct ia64_cursor): Change type of "pi" member from struct ia64_proc_info to unw_proc_info_t. (struct unw_addr_space): Declare "acc" member even for UNW_LOCAL_ONLY case. (ia64_acquire_unwind_info): Delete (ia64_relesae_unwind_info): Ditto. (ia64_find_proc_info): New routine. (struct ia64_unwind_table_entry): Delete. (struct ia64_unwind_talbe): Ditto. (struct ia64_global_unwind_state): Remove "unwind_table_pool" member. (ia64_get_proc_info): Rename to ia64_make_proc_info(). mostang.com!davidm 2002-12-03 08:19:58 +0000
  • d48c437782 (noinst_PROGRAMS): Mention test-dyn1. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 58752cbc76 (libunwind_la_SOURCES_common): Mention dyn-common.h, dyn-local.c, and dyn-register.c. (libunwind_la_SOURCES_ia64): Rename tables-glibc.c to tables.c. Mention unw_find_dynamic_proc_info.c, unw_get_accessors, and local-only variants. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 75952fdf41 (ia64_local_resume): Adjust for new address-space argument. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 1170560e62 (ia64_access_reg): Remove handling of UNW_REG_PROC_START, UNW_REG_HANDLER, and UNW_REG_LSDA. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 5ef3b80ed0 (get_script_cache): Flush cache only if the generation-numbers differ. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • b8802b5c11 (finish_prologue): Iterate over "mask" only if it is non-zero. (lookup_preg): New function. (parse_dynamic): Ditto. (get_proc_info): Take explicit IP argument. (create_state_record_for): New function, containing most of the code originally in ia64_create_state_record(). Don't forget to initialize sr->first_region. Check c->pi.format and parse unwind descriptors or dynamically registered unwind info accordingly. (ia64_get_proc_info): Adjust for extra argument expected by get_proc_info(). (ia64_create_state_record): Do interesting work by calling create_state_record_for(). mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 15eec54cc8 (do_backtrace): Replace reading of UNW_REG_PROC_START, UNW_REG_HANDLER, and UNW_REG_LSDA with call to unw_get_proc_info(). mostang.com!davidm 2002-12-03 08:19:58 +0000
  • 3ab317eef5 (common_init): Adjust for rename of ia64_get_proc_info() to ia64_make_proc_info(). mostang.com!davidm 2002-12-03 08:19:58 +0000
  • cfae46ade6 (access_mem): Adjust for fact that address-space is now passed as first arg. (access_reg): Ditto. (access_fpreg): Ditto. (ia64_init): Remove initializationof unw.unwind_table_pool. Initialize accessors even for UNW_LOCAL_ONLY case. mostang.com!davidm 2002-12-03 08:19:58 +0000
  • d7e9f75df6 (Logical change 1.28) hp.com!davidm 2002-11-23 02:12:30 +0000
  • f7d795a412 Initial revision hp.com!davidm 2002-11-23 02:12:30 +0000
  • edaa11ccfe First (rought) draft of an API to support dynamic code generation. hp.com!davidm 2002-11-23 02:12:30 +0000
  • acdc3566a4 Regenerate. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 9f4a51e8cf Mention new files. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • eeedef96bb Introduce the concept of an "address-space" to more cleanly support remote-unwinding of multiple address spaces (as might arise for a multi-process debugger, for example). Impace on existing libunwind users should be minimal: mostang.com!davidm 2002-11-16 06:50:04 +0000
  • f277006b83 (Logical change 1.27) mostang.com!davidm 2002-11-16 06:50:04 +0000
  • f6ba78341f Initial revision mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 87bc2e3242 Document which routines are signal-safe. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 5287e145c3 (unw_set_caching_policy): Adjust for new interface. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 772f423852 (unw_local_addr_space): Define here. (local_addr_space): New variable. (uc_addr): Move here from unw_init_local.c. (_Uia64_uc_addr): Ditto. (access_mem): Ditto. (access_reg): Ditto. (access_fpreg): Ditto. (ia64_init) [!UNW_REMOTE_ONLY]: Initialize local_addr_space. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 1481ba336b (unw_init_remote): Adjust for new interface. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 349dc592e1 (unw_init_local): Initialize c->as_arg with context-pointer (instead of c->uc). mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 22e898a099 (unw_get_save_loc): Adjust for fact that context pointer is now stored in c->as_arg, which is a "void *". mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 09eaf30ca4 (unw_flush_cache): Adjust for new arguments. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 9f93a9d0da (ia64_local_resume): Move here from unw_init_local(). mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 40e5cd3ca7 (get_proc_info): Adjust for move of "tables" member into the address-space structure. (ia64_get_proc_info): Always compile-in script-lookup, but check script-cache only if caching is enabled. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • b5e3d308ef (flush_script_cache): Take additional "address-space" argument. (get_script_cache): Ditto. (script_lookup): Renamed from ia64_script_lookup() and add "address-space" argument. (ia64_script_lookup): New function. (build_script): Get script from the caller instead of via script_new(). (ia64_find_save_locs): If caching is disabled, create a temporary script and do not update the script cache. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 07beae63f4 (common_init): Initialize c->hint and c->prev_script unconditionally. mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 007805c65a (access_nat) [UNW_LOCAL_ONLY]: Adjust for fact that context-pointer is now stored in c->as_arg, which is a "void *". mostang.com!davidm 2002-11-16 06:50:04 +0000
  • 990790c880 ( mostang.com!davidm 2002-11-16 06:50:04 +0000
  • d1ded59cb0 Switch to MIT license. mostang.com!davidm 2002-11-16 03:25:36 +0000
  • aca3843d6f Switch to MIT license. mostang.com!davidm 2002-11-16 03:25:36 +0000
  • 445f16a033 Switch to MIT license. mostang.com!davidm 2002-11-16 03:23:11 +0000
  • 780af9ac22 COPYING: Switch to MIT license. mostang.com!davidm 2002-11-16 03:23:11 +0000
  • c2262737f7 Fix typo in ia64_put() model.com!marky 2002-11-14 19:12:58 +0000
  • 790d1442a0 unwind_i.h: Fix typo in ia64_put() hp.com!davidm 2002-11-14 19:12:58 +0000
  • 0216fd8f07 ia64: Add missing update to unwind_i.h to support multiple script caches. hp.com!davidm 2002-11-12 00:43:55 +0000
  • 126ca10566 Remove IA64_UNW_SCRIPT_CACHE macro. Move script cache info into separate ia64_script_cache structure. (unw.cache_generation): New member. (unw.global_cache): Ditto. (ia64_per_thread_cache): New macro. (ia64_script_cache_init): Ditto. (ia64_script_cache_init): Add declaration. hp.com!davidm 2002-11-12 00:43:55 +0000
  • fb2c7eb56d Regenerate. mostang.com!davidm 2002-11-09 07:59:02 +0000
  • aca9360701 (Logical change 1.22) mostang.com!davidm 2002-11-09 07:59:02 +0000
  • e04493ac30 Initial revision mostang.com!davidm 2002-11-09 07:59:02 +0000
  • 74fc55a61a Add routines to control caching policy. The caching policy can be set to (1) single (global) cache, (2) per-thread cache, or (3) no cache at all. This is loosely based on a per-thread cache patch by Brian Sumner. mostang.com!davidm 2002-11-09 07:59:02 +0000
  • 0a7fdb7878 Add call to LIBUNWIND___THREAD. mostang.com!davidm 2002-11-09 07:59:02 +0000
  • 16f2189512 (unw_caching_policy_t): New type. (unw_set_caching_policy): New function. (unw_flush_cache): Ditto. mostang.com!davidm 2002-11-09 07:59:02 +0000
  • 57c6184925 (struct unw): Remove "hash" member. (ia64_init): Replace cache-initialization with call to ia64_script_cache_init(). mostang.com!davidm 2002-11-09 07:59:02 +0000
  • e196ffd7eb (struct ia64_script_cache): New structure (broken out from global unwind state). mostang.com!davidm 2002-11-09 07:59:02 +0000
  • d7d0463d0b (ia64_per_thread_cache) [HAVE___THREAD]: New variable. (flush_script_cache): New function. (get_script_cache): Ditto. (ia64_script_lookup): Modify to support multiple (in particular: per-thread) caches. (script_new): Add explicit "cache" pointer argument. (ia64_script_lookup): Add multi-cache support. (build_script): Ditto. (ia64_find_save_locs): Ditto. (ia64_script_cache_init): New function. mostang.com!davidm 2002-11-09 07:59:02 +0000
  • 56c93299f0 (LIBUNWIND__THREAD): New test. mostang.com!davidm 2002-11-09 07:59:02 +0000
  • 193ba2859f (HAVE___THREAD): Mention it. mostang.com!davidm 2002-11-09 07:59:02 +0000
  • 027b1d967f Regenerated with automake. mostang.com!davidm 2002-11-09 03:59:27 +0000
  • e633236827 (ia64_getfp): Change from macro to inline function. Check "loc" argument for being NULL before dereferencing it. (ia64_putfp): Ditto. (ia64_get): Ditto. (ia64_put): Ditto. mostang.com!davidm 2002-11-09 03:59:27 +0000
  • dee2508b2c (Logical change 1.21) mostang.com!davidm 2002-11-09 03:59:27 +0000