1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-25 00:27:39 +01:00
Commit graph

663 commits

Author SHA1 Message Date
hp.com!davidm
b064eb4574 Initial revision 2003-01-28 03:40:06 +00:00
hp.com!davidm
6e5c4b7ebc Change version number to 0.2-pre4.
(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
68bdac3681 Add declarations for the _UPT_* helper routines (libunwind via ptrace helpers).
(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
60be26eeb6 Add _UPT_*() helper routines to make it easy to use libunwind for ptrace'd processes.
BKrev: 3e35fb96i3Wt4nwNbCAUmtLvp-6Y9g
2003-01-28 03:40:06 +00:00
hp.com!davidm
0d4634d8fe (unw_get_save_loc): Rename AR_25 to AR_CSD.
(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
bb25a5ed3b (tdep_search_unwind_table): Explicitly call _Uia64_search_unwind_table().
Remove declaration of same name; this is now done in libunwind-ia64.h.

(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
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.

(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
74ee8e48f0 (libunwind_la_SOURCES_cdep): New macro. Mention _UPT routines.
(libunwind_la_SOURCES_common): Mention libunwind_la_SOURCES_cdep.

(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
3837469eec (intern_string): Change type of "i" to unsigned, to avoid compiler-warning.
(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
ef0b937c87 (intern_regions): Change type of "i" to be unsigned, to avoid compiler-warning.
(intern_array): Ditto.

(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
6da7fc2511 (ia64_scratch_loc): Rename AR_25 to AR_CSD.
(ia64_access_reg): Ditto.

(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
1f6bf48b5c (_Uia64_search_unwind_table): Rename from tdep_search_unwind_table().
(_Uia64_get_kernel_table): Rename from get_kernel_table() and make it global.

(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
21e86c6cba (TESTS_cdep): Add test-ptrace.c.
(Logical change 1.43)
2003-01-28 03:40:06 +00:00
hp.com!davidm
4df2088f8a (SIGCONTEXT_AR_CSD_OFF): Rename from SIGCONTEXT_AR_25_OFF.
(Logical change 1.43)
2003-01-28 03:40:06 +00:00
mostang.com!davidm
93bfdaa128 Regenerate.
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
81eb703130 Initial revision 2003-01-23 18:47:51 +00:00
mostang.com!davidm
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.

BKrev: 3e3038d7iwmOn7u1d1Hf25qwRYN88Q
2003-01-23 18:47:51 +00:00
mostang.com!davidm
ffaba71c4e Add copyright header.
(main): Be verbose only if an argument is passed.

(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
83893355b0 (update_frame_state): Handle "cfm" cache.
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
717cb71374 (struct cursor): Add "cfm" cache.
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
8bff7ccc92 (rotate_gr): Take advantage of "cfm" cache.
(rotate_fr): Ditto.
(pr_ltop): Ditto.
(pr_ptol): Ditto.

(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
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.

(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
4368ea4a70 (ia64_get_stacked): Make sure returned rnat-location is valid, too.
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
e30bf11e2c (ia64_access_reg): Handle "cfm" cache.
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
mostang.com!davidm
a89e112a32 (common_init): Initialize "cfm" cache.
(Logical change 1.42)
2003-01-23 18:47:51 +00:00
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