1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-01 02:37:39 +01:00

Commit graph

  • 49f992ac07 Mention !UNW_REMOTE_ONLY on #else branch. hp.com!davidm 2003-02-14 03:09:27 +0000
  • 0aa53387e3 Fix cross-building (UNW_REMOTE_ONLY). hp.com!davidm 2003-02-14 03:09:27 +0000
  • 7372c6cc43 (unw_flush_cache): Only uses __sync_fetch_and_add() if HAVE_IA64INTRIN_H is defined. Otherwise, do non-atomic increment (and issue compile-time warning about it). hp.com!davidm 2003-02-14 03:09:27 +0000
  • 3980b80e26 (is_local_addr_space): Always return 0 for UNW_REMOTE_ONLY. (_Uia64_search_unwind_table): Add a cast to avoid compiler-warning when cross-compiling from a 32-bit platform. hp.com!davidm 2003-02-14 03:09:27 +0000
  • d7c5192ef8 (ia64_init): Don't call _Uia64_local_addr_space_init() or _ULia64_local_addr_space_init() for UNW_REMOTE_ONLY. hp.com!davidm 2003-02-14 03:09:27 +0000
  • ec91b0fce5 (get_unwind_info): Remove unused arguments "pi" and "need_unwind_info". (__UPT_find_proc_info): Adjust get_unwind_info() call accordingly. hp.com!davidm 2003-02-14 03:09:27 +0000
  • bbe86eee68 (AC_CHECK_HEADERS): Mention ia64intrin.h. (CCASFLAGS): Define this instead of ASFLAGS. hp.com!davidm 2003-02-14 03:09:27 +0000
  • bbffb334fd include <string.h>. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 2da7f4a5a5 [UNW_TARGET_IA64]: Include elf64.h and os-linux.h. (_UPT_get_dyn_info_list_addr): Use elf_map_image() to map the elf-image. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 19a4e775ac Up version number to 0.2-pre5. (OS_LINUX): New conditional. (CFLAGS): Turn on -Wsign-compare for gcc. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 425adcbda4 Rewrite. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • d98aeba4cb Rewrite. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • a8db0b3fa1 Regenerate. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 97c8c1ef37 Make it an automatic test. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 0098b771ce Make it an automatic test. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 824d6619b5 (Logical change 1.45) mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 5f94e2d488 Initial revision mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 108627cab7 Include "elf64.h". (struct cursor): Add member "eh_valid_mask" to track which eh_args[] are valid. Fix comment for rbs_curr. (tdep_get_elf_image): New routine. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • b2a5a9023b Fix signed/unsigned comparisons. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 12d13835f9 Enclose ia64-specific code by UNW_TARGET_IA64. Adjust for the fact that the image info is now tracked by "struct elf_image". (elf64_valid_object): Delete (it's now in elfxx.c. (_UPTi_find_uwnind_table): Don't mmap the image here. (get_unwind_info): Use tdep_get_elf_image() to obtain the ELF image. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • d0e021d85b Add copyright notice. Make it an automatic test. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 31d99ecca6 Add ELF-procedure name lookup for local unwinding. Add libunwind-based non-local goto support (aka setjmp() in 3 stores). Start redoing/finalizing the unw_resume() support. Add more test-cases and documentation. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 52b17e2b37 (unwi_put_dynamic_unwind_info): Don't call unwi_dyn_remote_put_unwind_info() when dealing with the local address space. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • aeb517ff8a (unwi_get_proc_name): Add "offp" argument. Call tdep_get_proc_name() to look up procedure name for static code. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 8c2740cfe3 (unw_tdep_fpreg_t): New type. (UNW_TDEP_EH_ARG0): Make it an alias for r15. (UNW_TDEP_EH_ARG1): Make it an alias for r16. (UNW_TDEP_EH_ARG2): Make it an alias for r17. (UNW_TDEP_EH_ARG3): Make it an alias for r18. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 678d3209fb (unw_resume): Rewrite to make it work for resuming execution past a signal frame (and also simplify it). mostang.com!davidm 2003-02-08 10:10:59 +0000
  • f5892c26be (unw_get_proc_name): Update prototype. (See Also): Mention libunwind-setjmp(3) and unw_resume(3). mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 42cfe4f411 (unw_get_proc_name): Add "offp" argument. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • bebd76e90b (struct UPT_info): Replace image/image_size members by "struct elf_image" member. (struct map_iterator): Delete (moved to os-linux.h). (maps_init): Ditto. (maps_next): Ditto. (maps_close): Ditto. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • ea39f89528 (sighandler): Print procedure-name along with address. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • ed0fad1105 (man3_MANS): Mention libunwind-setjmp.man and unw_resume.man. (EXTRA_DIST): Mention libunwind-setjmp.tex and unw_resume.tex. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 7377d07464 (ia64_access_reg): When writing UNW_REG_IP, invalidate the proc_info if the new IP is outside the range of the old procedure. When writing one of the exception argument registers, track the update in c->eh_valid_mask. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • d20530f7ab (do_backtrace): Adjust for new "offset" argument in unw_get_proc_name(). mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 5f82f8e557 (do_backtrace): Adjust for "offset" argument in unw_get_proc_name() and print procedure name in a prettier fashion. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 7e29f92baa (common_init): Don't initialize eh_args[] pro-actively; do it lazily. Clear eh_valid_mask to zero. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • be592ddeb2 (_Uia64_search_unwind_table): Return a valid gp-value in the proc-info even when there is no other unwind-info. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • ebed1d6b82 (_Uia64_install_context): Rename from __ia64_install_context(). Change signature. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 1d8de85964 (_UPT_access_mem): Fix typo in debug statement. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 981c8cc37b (UNW_REG_EH_ARG0): New well-known register name. (UNW_REG_EH_ARG1): Ditto. (UNW_REG_EH_ARG2): Ditto. (UNW_REG_EH_ARG3): Ditto. (unw_fpreg_t): Make it a target-dependent type. (unw_get_proc_name): Also return the offset relative to the function name returned. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 5db393915c (TESTS_cdep): Add test-setjmp. (test_setjmp_LDADD): New macro. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • ad7f1470e3 (SETJMP_SO_VERSION): New macro. (lib_LTLIBRARIES_cdep): Ditto. (libunwind_setjmp_la_SOURCES_common): Ditto. (libunwind_setjmp_la_LDFLAGS): Ditto. (libunwind_setjmp_la_LIBADD): Ditto. (libunwind_setjmp_la_SOURCES_ia64): Ditto. (libunwind_setjmp_la_SOURCES_hppa): Ditto. (libunwind_setjmp_la_SOURCES_x86): Ditto. (libunwind_la_SOURCES_os): Define for OS_LINUX. (libunwind_la_SOURCES_ia64): Mention elf64.c. (AM_CPPFLAGS): Include from current working directory as well. (AM_CCASFLAGS): Define to be the same as AM_CPPFLAGS. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • f5265f56ba (HIDDEN): Make it empty unless we have at least GCC v3.3. (unwi_get_proc_name): Also return the offset relative to the returned function-name. (struct elf_image): New structure. mostang.com!davidm 2003-02-08 10:10:59 +0000
  • 9657e6d5ff Regenerate. mostang.com!davidm 2003-01-28 07:32:15 +0000
  • 64f2bf7735 (Logical change 1.44) mostang.com!davidm 2003-01-28 07:32:15 +0000
  • 3886794230 Initial revision mostang.com!davidm 2003-01-28 07:32:15 +0000
  • 10b928ac33 Add man-page for libunwind-ptrace(3). Fix typo in debug statements. mostang.com!davidm 2003-01-28 07:32:15 +0000
  • de4410dce0 (ui): Make it global instead of local to do_backtrace(). (do_backtrace): Move creation/destruction of the UPT-info structure from here... (main): ...to here. mostang.com!davidm 2003-01-28 07:32:15 +0000
  • 385b56fb3d (man3_MANS): Mention libunwind-ptrace.man. (EXTRA_DIST): Mention libunwind-ptrace.tex. mostang.com!davidm 2003-01-28 07:32:15 +0000
  • 17220411d4 (_UPT_access_reg): Fix typo in debug() statements. mostang.com!davidm 2003-01-28 07:32:15 +0000
  • ac0e9b4184 (See Also): Mention libunwind-ptrace(3). mostang.com!davidm 2003-01-28 07:32:15 +0000
  • 644c919345 Rename UNW_IA64_AR_25 to UNW_IA64_AR_CSD, as per SDM v2.1. (_Uia64_search_unwind_table): Declare. (_Uia64_find_dyn_list): Declare as "extern". (_Uia64_get_kernel_table): Declare. hp.com!davidm 2003-01-28 03:40:06 +0000
  • a69cf3deb9 Regenerate. hp.com!davidm 2003-01-28 03:40:06 +0000
  • b28af10e4b R hp.com!davidm 2003-01-28 03:40:06 +0000
  • e9e4e5fb29 (Logical change 1.43) hp.com!davidm 2003-01-28 03:40:06 +0000
  • b064eb4574 Initial revision hp.com!davidm 2003-01-28 03:40:06 +0000
  • 6e5c4b7ebc Change version number to 0.2-pre4. hp.com!davidm 2003-01-28 03:40:06 +0000
  • 68bdac3681 Add declarations for the _UPT_* helper routines (libunwind via ptrace helpers). hp.com!davidm 2003-01-28 03:40:06 +0000
  • 60be26eeb6 Add _UPT_*() helper routines to make it easy to use libunwind for ptrace'd processes. hp.com!davidm 2003-01-28 03:40:06 +0000
  • 0d4634d8fe (unw_get_save_loc): Rename AR_25 to AR_CSD. hp.com!davidm 2003-01-28 03:40:06 +0000
  • bb25a5ed3b (tdep_search_unwind_table): Explicitly call _Uia64_search_unwind_table(). Remove declaration of same name; this is now done in libunwind-ia64.h. hp.com!davidm 2003-01-28 03:40:06 +0000
  • e1e36dfdf6 (rotate_gr): When rotating an out-of-frame register, return the original register number, not -1. Otherwise, the wrong error gets propagated to the user. hp.com!davidm 2003-01-28 03:40:06 +0000
  • 74ee8e48f0 (libunwind_la_SOURCES_cdep): New macro. Mention _UPT routines. (libunwind_la_SOURCES_common): Mention libunwind_la_SOURCES_cdep. hp.com!davidm 2003-01-28 03:40:06 +0000
  • 3837469eec (intern_string): Change type of "i" to unsigned, to avoid compiler-warning. hp.com!davidm 2003-01-28 03:40:06 +0000
  • ef0b937c87 (intern_regions): Change type of "i" to be unsigned, to avoid compiler-warning. (intern_array): Ditto. hp.com!davidm 2003-01-28 03:40:06 +0000
  • 6da7fc2511 (ia64_scratch_loc): Rename AR_25 to AR_CSD. (ia64_access_reg): Ditto. hp.com!davidm 2003-01-28 03:40:06 +0000
  • 1f6bf48b5c (_Uia64_search_unwind_table): Rename from tdep_search_unwind_table(). (_Uia64_get_kernel_table): Rename from get_kernel_table() and make it global. hp.com!davidm 2003-01-28 03:40:06 +0000
  • 21e86c6cba (TESTS_cdep): Add test-ptrace.c. hp.com!davidm 2003-01-28 03:40:06 +0000
  • 4df2088f8a (SIGCONTEXT_AR_CSD_OFF): Rename from SIGCONTEXT_AR_25_OFF. hp.com!davidm 2003-01-28 03:40:06 +0000
  • 93bfdaa128 Regenerate. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • 81eb703130 Initial revision mostang.com!davidm 2003-01-23 18:47:51 +0000
  • 4b532b797b Fix a bug that caused accesses to invalid RNaT locations. Make ia64-test-stack and test-dyn1 part of the test-suite. Add CFM cache. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • ffaba71c4e Add copyright header. (main): Be verbose only if an argument is passed. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • 83893355b0 (update_frame_state): Handle "cfm" cache. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • 717cb71374 (struct cursor): Add "cfm" cache. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • 8bff7ccc92 (rotate_gr): Take advantage of "cfm" cache. (rotate_fr): Ditto. (pr_ltop): Ditto. (pr_ptol): Ditto. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • 0fe74701c5 (nerrors): New global variable. (verbose): Ditto. (do_unwind_tests): Add sanity checking. (main): Be verbose only if there is an argument, print error summary. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • 4368ea4a70 (ia64_get_stacked): Make sure returned rnat-location is valid, too. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • e30bf11e2c (ia64_access_reg): Handle "cfm" cache. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • a89e112a32 (common_init): Initialize "cfm" cache. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • 282413e6ab (TESTS_cdep): New macro for configuration-depedent tests. (noinst_PROGRAMS_cdep): New macro for config-dependent noinst-programs. (TESTS_arch): New macro for architecture-specific tests. (TESTS): New macro, so we can run "make check". (check_PROGRAMS): New macro. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • e55b2e04ce (NSTACKS): Move into "ia64-test-stack.h". (STACK_SIZE_SHIFT): Ditto. (STACK_SIZE): Ditto. mostang.com!davidm 2003-01-23 18:47:51 +0000
  • a3f100b9f0 (Logical change 1.42) mostang.com!davidm 2003-01-23 18:47:51 +0000
  • 95d618391d Rename: tests/sig.c -> tests/ia64-test-sig.c mostang.com!davidm 2003-01-23 10:04:09 +0000
  • e5b4f8a40d Rename: tests/sig.c -> tests/ia64-test-sig.c mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 7ec3afd8db Minor reformatting. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 3f0ebaa7e3 (Logical change 1.41) mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 01ead91d21 Initial revision mostang.com!davidm 2003-01-23 10:04:09 +0000
  • de6b7ac827 Fix mostang.com!davidm 2003-01-23 10:04:09 +0000
  • c3e70b0067 Correct typo. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 31fbd34d9c (unw_get_save_loc): rotate_gr() expects a register number in the range r32-r127. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 6dbc6777a3 (struct cursor): Rename rbs_wridx to rbs_right_edge, rbs_nvalid to rbs_left_edge, and reserve two extra slots in rbs_area[]. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • d5370fb25c (rbs_record_switch): Fix it so it stands a chance of working in all cases. (rbs_underflow): Ditto. (rbs_find_stacked): Ditto. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • eacf0e24e1 (rbs_find_stacked): Renamed from rbs_find_reg. (ia64_get_stacked): Expect a register number (32-127), not a skip-count. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 57df2a2981 (noinst_PROGRAMS_arch): Mention ia64-test-stack. (ia64_test_stack_SOURCES): New macro. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 7e268d256d (mi_init): Avoid name-space pollution: make mi_init() an arch-object. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 3b6290bef2 (create_state_record_for): Fix thinko in test whether bsp/bspstore/rnat have been saved. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 73fd3a8d4a (compile_reg): store register number for MOVE_STACKED. mostang.com!davidm 2003-01-23 10:04:09 +0000
  • 570c6e399a (common_init): bspstore needs to be initialized from c->bspstore_loc. Adjust for renaming in "struct cursor". mostang.com!davidm 2003-01-23 10:04:09 +0000
  • ad8830e9ce (check_rbs_switch): New function. Split-off from update_frame_state(). mostang.com!davidm 2003-01-23 10:04:09 +0000
  • a356356660 (access_nat): rotate_gr() expects a register number in the range r32-r127. mostang.com!davidm 2003-01-23 10:04:09 +0000