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

  • 68c970298d (libunwind_la_SOURCES_cdep): Mention _UPT_get_proc_name.c. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 4c09dd6429 (intern_regions): Allow for empty region-list. (intern_dyn_info): Skip over padding rather than fetching it. Start intern_regions() at address of first region, not just at the next sequential address. (unwi_dyn_remote_find_proc_info): Allocate "di" dynamically (it needs to persist until put_unwind_info() is called). mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 77ccc28ad9 (ia64_state_record): Rename epilogue_start to when_sp_restored. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 5939c41c09 (get_static_proc_name): New function. (ia64_local_addr_space_init): Initialize get_proc_name callback. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • a3806e7c16 (get_proc_name): Add "pid" argument. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 0d7396a027 (func_add3): Various small fixes. (func_vframe): New function. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 405a7d8adf (check_SCRIPTS_cdep): New macro (check_PROGRAMS_cdep): Ditto (check_SCRIPTS_arch): Ditto. (check_PROGRAMS_arch): Ditto. (check_SCRIPTS): Ditto. (check_PROGRAMS): Ditto. (TESTS): Define in terms of check_PROGRAMS and check_SCRIPTS. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 8bd0572f34 (build_script): Document the fact that we need IA64_REG_PSP to get compiled first. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 9430d35c9b (_U_dyn_region_info_size): Define it in a more straight-forward manner. (_U_dyn_op_label_state): Drop "qp" and "when" arguments. (_U_dyn_op_copy_state): Ditto. (_U_dyn_op_stop): Define qp to _U_QP_TRUE and when to -1. (_U_QP_TRUE): New macro. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 9df94711bf (_U_TDEP_QP_TRUE): New macro. (UNW_IA64_RP): New register-name. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 153f625eed (_UPTi_find_unwind_table): Double-check that punw is inside ptxt segment. (get_unwind_info): Double-check to verify that returned dynamic-info is indeed for the procedure that we requested. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • cb2620b0fd (_UPT_accessors): Initialize get_proc_name callback. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • 6863c4aaf5 (IA64_REG_PSP): Move it ino front of IA64_REG_BSP. (tdep_get_proc_name): Delete. mostang.com!davidm 2003-02-27 09:58:57 +0000
  • ea8a74ba29 Rewrite it. hp.com!davidm 2003-02-26 08:33:57 +0000
  • 818d0241f2 Initial revision hp.com!davidm 2003-02-26 08:33:57 +0000
  • b97fa14ca5 Include <asm/ptrace_offsets.h> if host is IA-64. (trace_mode): New variable. (main): Support options -i (instruction-by-instruction backtracing), -s (syscall-level backtracing), -t (triggered instruction-level backtracing). hp.com!davidm 2003-02-26 08:33:57 +0000
  • d7903bb9a2 Debug remote dynamic unwind info code some more. Minor build-fixes (e.g., so that libunwind builds with Intel ECC compiler again). hp.com!davidm 2003-02-26 08:33:57 +0000
  • bd93c64f01 (update_frame_state): Update the IP-cache before doing anything else. If we reached the en of the frame-chain, then the remaining registers may not be valid/accessible anymore. hp.com!davidm 2003-02-26 08:33:57 +0000
  • 1fc6f4e6b3 (unwi_dyn_remote_find_proc_info): If anything goes wrong, return -UNW_ENOINFO. Skip over "prev_addr". Read start/end-IP directly into the "di" structure, not into temporary variables. Skip padding by directly adjusting the address (don't bother fetching padding values; that only slows things down). Return 0 only if we really did find dynamic unwind info. hp.com!davidm 2003-02-26 08:33:57 +0000
  • 95a55361c8 (uc_addr): Allow (readonly) access to r0/nat0 to support ".save rp, r0" idiom. hp.com!davidm 2003-02-26 08:33:57 +0000
  • c503981c39 (struct ia64_global_unwind_state): Add member "r0". hp.com!davidm 2003-02-26 08:33:57 +0000
  • 8d4f6ff52d (rbs_contains): Tighten debug output. hp.com!davidm 2003-02-26 08:33:57 +0000
  • 43652d9dea (ia64): Undef this macro if it's defined (bug in Intel's ECC v7.0?). (_Uia64_find_dyn_list): Add "gp" argument. hp.com!davidm 2003-02-26 08:33:57 +0000
  • 54eda6d6fc (_Uia64_find_dyn_list): Add "gp" argument. Fix typo in address-offset for the "off" variable. Adjust for the fact that the dyn-info list address is now gp-relative. hp.com!davidm 2003-02-26 08:33:57 +0000
  • cf3b756567 (_U_dyn_op_pop_frames): Fix typo in UNW_DYN_POP_FRAMES. hp.com!davidm 2003-02-26 08:33:57 +0000
  • 5660a59ba1 (_U_dyn_info_list): Mark it as .hidden so we can do a @gprel() reloc against it. (.info): Use @gprel() reloc instead of @segrel() reloc for _U_dyn_info_list. The latter doesn't work because the unwind-info is in a different segment. (ia64_init): Clear unw.r0. hp.com!davidm 2003-02-26 08:33:57 +0000
  • c4b73c6198 (_UPT_get_dyn_info_list_addr): Add debug statements. Correct pre-increment to post-increment. hp.com!davidm 2003-02-26 08:33:57 +0000
  • 2fbf4cece7 (_UPT_access_reg): Allow reading of r0 (UNW_IA64_GR+0) to support ".save rp, r0" idiom. hp.com!davidm 2003-02-26 08:33:57 +0000
  • 9f48ae3751 (TESTS_arch): Add ia64-test-dyn1. (ia64_test_dyn1_SOURCES): New macro. hp.com!davidm 2003-02-26 08:33:57 +0000
  • 601494e771 (Logical change 1.55) hp.com!davidm 2003-02-26 08:33:57 +0000
  • 31c7612938 Regenerate. mostang.com!davidm 2003-02-22 08:19:43 +0000
  • a3157347f9 (unwi_get_proc_name): Drop "is_local" argument. Test "as" against "unw_local_addr_space" instead. mostang.com!davidm 2003-02-22 08:19:43 +0000
  • 824ec53659 (unwi_get_proc_name): Drop "is_local" argument. Test "as" against "unw_local_addr_space" instead. mostang.com!davidm 2003-02-22 08:19:43 +0000
  • 3434090e32 (Logical change 1.54) mostang.com!davidm 2003-02-22 08:19:43 +0000
  • 5d9d17a5e8 Initial revision mostang.com!davidm 2003-02-22 08:19:43 +0000
  • 9d5c1bc580 In error messages, replace "unwind:" by "libunwind:". (desc_prologue): Fix handling of region_start so it doesn't get corrupted by state-record pushing/popping. (parse_dynamic): Allow the last region to contain a negative insn_count, indicating that the region covers the last portion of a procedure. mostang.com!davidm 2003-02-22 08:19:43 +0000
  • a01d77efb8 Fix a bug that kept unw_get_proc_name() from working for the UNW_LOCAL_ONLY case. mostang.com!davidm 2003-02-22 08:19:43 +0000
  • e20ecc63b8 (unwi_get_proc_name): Don't make it an arch-object. Drop "is_local" argument. mostang.com!davidm 2003-02-22 08:19:43 +0000
  • 7412722854 (unw_get_proc_name): Drop "is_local" argument in call to unwi_get_proc_name). mostang.com!davidm 2003-02-22 08:19:43 +0000
  • e61440508f (unw_dyn_region_info_t): Make insn_count signed. mostang.com!davidm 2003-02-22 08:19:43 +0000
  • 2f852c2e12 (libunwind_la_SOURCES_common): Replace get_proc_name.c with Gget_proc_name.c and Lget_proc_name.c. mostang.com!davidm 2003-02-22 08:19:43 +0000
  • 1a6bf76301 Rename: tests/test-dyn1.c -> tests/Gtest-dyn1.c hp.com!davidm 2003-02-22 03:08:22 +0000
  • a1aed8c295 Rename: tests/test-dyn1.c -> tests/Gtest-dyn1.c hp.com!davidm 2003-02-22 03:08:22 +0000
  • ad94265cff Rename: tests/ia64-test-stack.c -> tests/Gia64-test-stack.c hp.com!davidm 2003-02-22 03:08:22 +0000
  • 9c83634f04 Rename: tests/ia64-test-stack.c -> tests/Gia64-test-stack.c hp.com!davidm 2003-02-22 03:08:22 +0000
  • 7849826bf9 Regenerate. hp.com!davidm 2003-02-22 03:08:22 +0000
  • 982f0e1684 New file. hp.com!davidm 2003-02-22 03:08:22 +0000
  • 690b203671 New file. hp.com!davidm 2003-02-22 03:08:22 +0000
  • bb4f71708d Minor formatting fix. hp.com!davidm 2003-02-22 03:08:22 +0000
  • fd7e332a1f Implement remote-case of unw_resume(). Clarify man-page for unw_resume(). For the test-cases where this makes sense, test both local-only and generic cases. hp.com!davidm 2003-02-22 03:08:22 +0000
  • a126d452e4 Describe behavior difference between local and remote unw_resume(). hp.com!davidm 2003-02-22 03:08:22 +0000
  • 5187d53d31 Delete UNW_LOCAL_ONLY. hp.com!davidm 2003-02-22 03:08:22 +0000
  • f77ee147ac Delete UNW_LOCAL_ONLY. hp.com!davidm 2003-02-22 03:08:22 +0000
  • 4fdeae046b D hp.com!davidm 2003-02-22 03:08:22 +0000
  • 899ce01967 D hp.com!davidm 2003-02-22 03:08:22 +0000
  • a0f3b067b8 (Logical change 1.53) hp.com!davidm 2003-02-22 03:08:22 +0000
  • 37d99c0c9f Initial revision hp.com!davidm 2003-02-22 03:08:22 +0000
  • ea34cc2bee (uc_off): Remove (it wasn't used anymore). hp.com!davidm 2003-02-22 03:08:22 +0000
  • 2b0b48fd8a (remote_install_cursor): Implement it. hp.com!davidm 2003-02-22 03:08:22 +0000
  • 1d36e97333 (TESTS_arch): Replace ia64-test-rbs with Gia64-test-rbs and Lia64-test-rbs. (TESTS_cdep): Replace test-exc, test-resume-sig, and test-dyn1 with G (generic) and L (local-only) variants. (Lia64_test_rbs_SOURCES): Rename from ia64_test_rbs_SOURCES. (Gia64_test_rbs_SOURCES): New macro. (Lia64_test_stack_SOURCES): Rename from ia64_test_stack_SOURCES. (Gia64_test_stack_SOURCES): New macro. hp.com!davidm 2003-02-22 03:08:22 +0000
  • b49a5f35e1 Regenerate. mostang.com!davidm 2003-02-21 07:36:26 +0000
  • 84bdbf814d Fix ia64 code to use the same modular-arithmetic based test to determine whether or not a given address is part of a register-backing store. This test is implemented by rbs_contains(). mostang.com!davidm 2003-02-21 07:36:26 +0000
  • 88c6bcd794 Add note that unw_resume() does NOT execute unwind-handlers (personality-routines). mostang.com!davidm 2003-02-21 07:36:26 +0000
  • f0c37e1652 (unwind_and_resume): Correct argument printing. (run_check): Limit unwind_count to range 1..(nfuncs+RECURSION_DEPTH). Fix off-by-one but that counter-acted a bug in ia64-test-rbs-asm.S. mostang.com!davidm 2003-02-21 07:36:26 +0000
  • c341225693 (struct cursor): Remove rbs_right_edge. mostang.com!davidm 2003-02-21 07:36:26 +0000
  • cb4fb05032 (rotate_gr): Only print debug info if size-of-rotating-partition is non-zero. (rotate_fr): Only print debug info if rotation-base is non-zero. mostang.com!davidm 2003-02-21 07:36:26 +0000
  • 749cd25529 (rbs_underflow): Remove. (rbs_contains): New function. mostang.com!davidm 2003-02-21 07:36:26 +0000
  • 0d0c84f63c (rbs_switch): Rename from rbs_record_switch() and greatly simplify it because we now switch to the new backing-store immediately. (rbs_underflow): Remove. (rbs_find_stacked): No longer assume that c->bsp is contained in the current rbs. If it is not, first find the backing-store that's backing c->bsp. (rbs_cover_and_flush): Use rbs_contains() instead of (broken) open code. Handle the case where the initial bsp points to an RNaT slot. mostang.com!davidm 2003-02-21 07:36:26 +0000
  • 8a621f78ff (common_init): Drop initialization of c->rbs_right_edge. Initialize size of first rbs_area[] to 1<<63 so that we can maintain a notion of "above" and "below". mostang.com!davidm 2003-02-21 07:36:26 +0000
  • 77821808ab (check_rbs_switch): Mark it as "inline". Make rbs_record_switch() the last call. (update_frame_state): Remove conditional call to rbs_underflow(). mostang.com!davidm 2003-02-21 07:36:26 +0000
  • 4d5c375d34 Fix an off-by-one bug in ia64-test-rbs-asm.S. mostang.com!davidm 2003-02-20 18:04:51 +0000
  • 0d89914d4e (rbs_spill_N): Fix off-by-one bug in indexing into next_func[]. mostang.com!davidm 2003-02-20 18:04:51 +0000
  • 6af90d0df4 Regenerate. mostang.com!davidm 2003-02-15 08:53:55 +0000
  • 80866c48fd Regenerate built files. mostang.com!davidm 2003-02-15 08:53:55 +0000
  • edf42f2db5 Up version number to 0.3. mostang.com!davidm 2003-02-15 08:49:55 +0000
  • ff7880fde8 Merge bk://unwind@bkbits.net/libunwind into panda.mostang.com:/data/home/davidm/src/unwind/libunwind mostang.com!davidm 2003-02-15 08:49:55 +0000
  • fb1997ff0a Add include of "ia64-test-rbs.h". (NELEMS): New macro. (RECURSION_DEPTH): Fix definition: loadup() allocates 93 local regs, not 95. (spill_func_t): Make it return an "int". (DCL): Adjust accordingly. (verbose): New variable. (nerrors): Make it an "int". (unwind_count): Ditto. (unwind_and_resume): Make it return an int. Print info-output only if verbose is set. After unwinding to the desired point, redirect IP to resumption_point_label and store return value in EH_ARG0 and original IP in EH_ARG1. (run_check): New function. (main): Remove open test code and call run_check() instead. mostang.com!davidm 2003-02-15 08:49:55 +0000
  • d8023cf208 (unw_set_caching_policy): Call ia64_init() first if necessary. mostang.com!davidm 2003-02-15 08:49:55 +0000
  • 71ab0b2a3c (rbs_spill_NN): If r8 is non-negative on return from subroutine-call, increment it by one. Take care of restoring the dirty partition before switching back to original backing store. (LD_LOC): Load only 4 bytes, not 8 bytes. (CK_LOC): New macro. (loadup): ar.pfs is saved in r36, not r34. After returning from subroutine call, check local variables to make sure they still contain the correct values. (resumption_point): New function. mostang.com!davidm 2003-02-15 08:49:55 +0000
  • d55a7f7dd4 (rbs_cover_and_flush): Also update c->rnat_loc as needed. mostang.com!davidm 2003-02-15 08:49:55 +0000
  • b8c178177a (ia64_local_resume): Remove unused variable "loadrs". mostang.com!davidm 2003-02-15 08:49:55 +0000
  • 44a825a3d5 (TEST_arch): Put ia64-test-stack first. (TESTS): Put $(TESTS_arch) first. mostang.com!davidm 2003-02-15 08:49:55 +0000
  • eb44c3a6d5 Move include of ia64intrin.h after include of "unwind_i.h". hp.com!davidm 2003-02-15 03:10:30 +0000
  • 0cf429d971 More cross-compile bugfixes. hp.com!davidm 2003-02-15 03:10:30 +0000
  • ad066d35b7 Do nothing of UNW_REMOTE_ONLY is defined. hp.com!davidm 2003-02-15 03:10:30 +0000
  • cd6b1537ce (unwi_get_proc_name): If UNW_REMOTE_ONLY is defined and the procedure isn't a dynamically generated one, just punt and return -UNW_ENOINFO. hp.com!davidm 2003-02-15 03:10:30 +0000
  • 89344cf672 (local_find_proc_info): Define only if not UNW_REMOTE_ONLY. hp.com!davidm 2003-02-15 03:10:30 +0000
  • a45c88823a (likely): Make them work even for non-GCC (or old GCC) compilers. (unlikely): Ditto. (debug): Print to stderr. (dprintf): Ditto. hp.com!davidm 2003-02-15 03:10:30 +0000
  • 7fd45d122c (create_state_record_for): Use dprintf(), not printf(). hp.com!davidm 2003-02-15 03:10:30 +0000
  • 70ee73612e Minor reformatting to make it fit in 80 cols. (get_rnat): New function. (rbs_cover_and_flush): Ditto. mostang.com!davidm 2003-02-14 06:25:36 +0000
  • b05848b2aa Merge bk://unwind@bkbits.net/libunwind into panda.mostang.com:/data/home/davidm/src/unwind/libunwind mostang.com!davidm 2003-02-14 06:25:36 +0000
  • 894b96b95a (Logical change 1.47) mostang.com!davidm 2003-02-14 06:25:36 +0000
  • 9b16424457 Initial revision mostang.com!davidm 2003-02-14 06:25:36 +0000
  • 5cef5934e8 Auto merged mostang.com!davidm 2003-02-14 06:25:36 +0000
  • 32a1dc6be5 (rbs_cover_and_flush): Declare. (_Uia64_install_context): Drop loadrs argument from declaration. mostang.com!davidm 2003-02-14 06:25:36 +0000
  • 02c8c0cdae (ia64_local_resume): Use rbs_cover_and_flush() to linearize the contents of the current register frame before resuming execution. Drop loadrs argument from call to _Uia64_install_context(). mostang.com!davidm 2003-02-14 06:25:36 +0000
  • 03f6e9b004 (_Uia64_install_context): Drop "loadrs" argument and adjust code accordingly. mostang.com!davidm 2003-02-14 06:25:36 +0000
  • 508348e693 (TESTS_arch): Mention ia64-test-rbs. (ia64_test_rbs_SOURCES): New macro. mostang.com!davidm 2003-02-14 06:25:36 +0000
  • 4dca76319d [REMOTE_ONLY]: Mention dummy "install-exec-hook". (libunwind_la_SOURCES_cdep): Mention dyn-cancel.c and dyn-register.c. (libunwind_la_SOURCES_common): Remove dyn-cancel.c and dyn-register.c hp.com!davidm 2003-02-14 03:09:27 +0000
  • 74f568c602 Regenerate. hp.com!davidm 2003-02-14 03:09:27 +0000