1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-24 08:17:38 +01:00
Commit graph

1188 commits

Author SHA1 Message Date
mostang.com!davidm
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.

(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
e55b2e04ce (NSTACKS): Move into "ia64-test-stack.h".
(STACK_SIZE_SHIFT): Ditto.
(STACK_SIZE): Ditto.

(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
a3f100b9f0 (Logical change 1.42) 2003-01-23 18:47:51 +00:00
mostang.com!davidm
95d618391d Rename: tests/sig.c -> tests/ia64-test-sig.c
}(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
e5b4f8a40d Rename: tests/sig.c -> tests/ia64-test-sig.c
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
7ec3afd8db Minor reformatting.
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
3f0ebaa7e3 (Logical change 1.41) 2003-01-23 10:04:09 +00:00
mostang.com!davidm
01ead91d21 Initial revision 2003-01-23 10:04:09 +00:00
mostang.com!davidm
de6b7ac827 Fix
BKrev: 3e2fbe19oD_3TQwUDRm2z-h2xdPvQw
2003-01-23 10:04:09 +00:00
mostang.com!davidm
c3e70b0067 Correct typo.
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
31fbd34d9c (unw_get_save_loc): rotate_gr() expects a register number in the range r32-r127.
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
6dbc6777a3 (struct cursor): Rename rbs_wridx to rbs_right_edge, rbs_nvalid to rbs_left_edge,
and reserve two extra slots in rbs_area[].

(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
d5370fb25c (rbs_record_switch): Fix it so it stands a chance of working in all cases.
(rbs_underflow): Ditto.
(rbs_find_stacked): Ditto.

(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
eacf0e24e1 (rbs_find_stacked): Renamed from rbs_find_reg.
(ia64_get_stacked): Expect a register number (32-127), not a skip-count.

(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
57df2a2981 (noinst_PROGRAMS_arch): Mention ia64-test-stack.
(ia64_test_stack_SOURCES): New macro.

(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
7e268d256d (mi_init): Avoid name-space pollution: make mi_init() an arch-object.
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
3b6290bef2 (create_state_record_for): Fix thinko in test whether bsp/bspstore/rnat have been
saved.

(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
73fd3a8d4a (compile_reg): store register number for MOVE_STACKED.
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
570c6e399a (common_init): bspstore needs to be initialized from c->bspstore_loc.
Adjust for renaming in "struct cursor".

(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
ad8830e9ce (check_rbs_switch): New function. Split-off from update_frame_state().
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
a356356660 (access_nat): rotate_gr() expects a register number in the range r32-r127.
(Logical change 1.41)
2003-01-23 10:04:09 +00:00
mostang.com!davidm
51b47e4ecf Test unwinding across signal delivered on alternate signal stack.
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
6e7fb1619c Support register-backing-store switching. This should make unwinding across signals
delivered on alternate signal stack work.  More testing is needed, but the code should
be complete.

BKrev: 3e2d8640dkwvw3HFk-yQoXqN3nmYaA
2003-01-21 17:41:20 +00:00
mostang.com!davidm
28490baa52 Regenerate.
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
1efaaab46e (Logical change 1.40) 2003-01-21 17:41:20 +00:00
mostang.com!davidm
81d01dfc27 Initial revision 2003-01-21 17:41:20 +00:00
mostang.com!davidm
ca50cf6354 Begin to support resuming execution beyond a signal handler frame (not working yet).
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
4f231eb84a Add copyright notice.
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
56f367ca9c (update_frame_state): Update c->sigcontext_off so unw_resume() can reconstruct the
original stack-pointer from c->sigcontext_loc.
	Handle rbs-switches for Linux signal deliver on alternate signal stack and
	for general case, indicated by UNW_PI_FLAG_IA64_RBS_SWITCH.
	Call rbs_underflow() when we detect a register-backing-store underflow.

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
7aaa1e995a (unw_regname0: Use NELEMS() instead of corresponding open code.
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
644a56edfc (unw_init_local): Add comment as to why we can assume initial register window is
contiguous.

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
3f3215952d (unw_get_save_loc): Use ia64_get_stacked() and don't forget to rotate stacked
registers before accessing them.

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
29fbe1c0bc (uc_addr): Correct value returned for AR_BSPSTORE.
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
8b17d136c5 (struct cursor): Replace rbs_top and top_rnat_loc with rbs_wridx, rbs_curr,
rbs_nvalid, and rbs_area.  Add new member sigcontext_off.

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
7c6f9ccd2c (run_script): Use ia64_get_stacked() to access stacked register & don't forget to
rotate stacked registers.


(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
5a55c1d8a8 (rbs_record_switch): New function.
(rbs_underflow): Ditto.
(rbs_find_reg): Ditto.
(ia64_get_stacked): Ditto.

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
15ea4d442e (noinst_PROGRAMS): Mentio ntest-resume-sig.
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
ea0a71ab32 (ia64_local_resume): Begin to support unw_resume() that goes across a signal
(not complete yet).

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
a393d743f0 (finish_prologue): use NELEMS() instead of corresponding open code.
(create_state_record_for): Turn on UNW_PI_FLAG_IA64_RBS_SWITCH when a procedure
	has saved all of ar.bsp, ar.bspstore, and ar.rnat.

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
03db644db3 (common_init): Drop initialization of top_rnat_loc and rbs_top. Initialize
rbs_curr, rbs_wridx, rbs_nvalid, and rbs_area[0] instead.

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
3ead93703a (access_nat): use ia64_get_stacked() to access stacked register & don't forget
to rotate stacked regs.
(ia64_access_reg): Ditto.

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
427c1894c2 (SOVERSION): Increment "current" to reflect change in size of unw_cursor_t.
(libunwind_la_SOURCES_ia64): Mention rbs-ia64.c.

(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
66eefe5e66 Various small updates/cleanups.
BKrev: 3e2d0000UwgCCnhp9HK6-DTSbiS_LA
2003-01-21 08:08:32 +00:00
mostang.com!davidm
2212e1276b Fix comment for ia64_rse_num_regs().
(Logical change 1.39)
2003-01-21 08:08:32 +00:00
mostang.com!davidm
cb8d20c098 (unw_regname): Use NELEMS() instead of open code.
(Logical change 1.39)
2003-01-21 08:08:32 +00:00
mostang.com!davidm
0797f31dd2 (main): Add missing return.
(Logical change 1.39)
2003-01-21 08:08:32 +00:00
mostang.com!davidm
313653f66e (likely): New macro.
(unlikely): Ditto.
(NELEMS): Ditto.

(Logical change 1.39)
2003-01-21 08:08:32 +00:00
mostang.com!davidm
b5fe317cc8 (UNW_TDEP_CURSOR_LEN): Define.
(UNW_PI_FLAG_IA64_RBS_SWITCH_BIT): New macro.
(UNW_PI_FLAG_IA64_RBS_SWITCH): Ditto.

(Logical change 1.39)
2003-01-21 08:08:32 +00:00
mostang.com!davidm
26f6cf761e (UNW_TDEP_CURSOR_LEN): Define.
(Logical change 1.39)
2003-01-21 08:08:32 +00:00
mostang.com!davidm
a4bea2c466 (UNW_STATE_LEN): Remove (replaced by UNW_TDEP_CURSOR_LEN).
(UNWPI_FLAG_FIRST_TDEP_BIT): Define.
Fix typo in comment: LITTLE not LITLE...

(Logical change 1.39)
2003-01-21 08:08:32 +00:00