1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-15 20:58:13 +01:00
Commit graph

677 commits

Author SHA1 Message Date
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
mostang.com!davidm
54653ccacc (.tex.man): Check source file out of bitkeeper with write-lock (-e).
(Logical change 1.39)
2003-01-21 08:08:32 +00:00
mostang.com!davidm
5ffeae6637 Use \SeeAlso{} in the See Also section.
(Logical change 1.38)
2003-01-18 08:10:40 +00:00
mostang.com!davidm
9f4c59d95e Some reformatting for clarity. Add SeeAlso macro.
(Logical change 1.38)
2003-01-18 08:10:40 +00:00
mostang.com!davidm
edc22a3a7e Regenerate.
(Logical change 1.38)
2003-01-18 08:10:40 +00:00
mostang.com!davidm
e9b93ad9c3 More documentation updates. In particular, add libunwind-ia64(3) man-page.
BKrev: 3e290c00nMCoOzkrl5uQA7xsgqYC9g
2003-01-18 08:10:40 +00:00
mostang.com!davidm
a308875278 Add \sloppy to avoid overfull hboxes.
(SeeAlso): New command.

(Logical change 1.38)
2003-01-18 08:10:40 +00:00
mostang.com!davidm
827ab382f2 (man3_MANS): Generate man pages into _source_ directory.
(EXTRA_DIST): Mention libunwind-ia64.tex.
(L2P): New macro.
(.tex.man): Optionally do a "bk get -e" to get a writelock.
(html): Append section name to generated php-page.
(pdf): New make target.

(Logical change 1.38)
2003-01-18 08:10:40 +00:00
mostang.com!davidm
bd2b4658cb (Logical change 1.38) 2003-01-18 08:10:40 +00:00
mostang.com!davidm
68518d5b24 Initial revision 2003-01-18 08:10:40 +00:00
mostang.com!davidm
1d9504ddec Fix checkin lossage.
BKrev: 3e2847a71a3emJBVAYE41FJXzDGZQg
2003-01-17 18:12:55 +00:00
mostang.com!davidm
0440c53608 Fix checkin lossage.
(Logical change 1.37)
2003-01-17 18:12:55 +00:00