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

1397 commits

Author SHA1 Message Date
mostang.com!davidm
22e898a099 (unw_get_save_loc): Adjust for fact that context pointer is now stored in
c->as_arg, which is a "void *".

(Logical change 1.27)
2002-11-16 06:50:04 +00:00
mostang.com!davidm
09eaf30ca4 (unw_flush_cache): Adjust for new arguments.
(Logical change 1.27)
2002-11-16 06:50:04 +00:00
mostang.com!davidm
9f93a9d0da (ia64_local_resume): Move here from unw_init_local().
(Logical change 1.27)
2002-11-16 06:50:04 +00:00
mostang.com!davidm
40e5cd3ca7 (get_proc_info): Adjust for move of "tables" member into the address-space structure.
(ia64_get_proc_info): Always compile-in script-lookup, but check script-cache only
	if caching is enabled.

(Logical change 1.27)
2002-11-16 06:50:04 +00:00
mostang.com!davidm
b5e3d308ef (flush_script_cache): Take additional "address-space" argument.
(get_script_cache): Ditto.
(script_lookup): Renamed from ia64_script_lookup() and add "address-space" argument.
(ia64_script_lookup): New function.
(build_script): Get script from the caller instead of via script_new().
(ia64_find_save_locs): If caching is disabled, create a temporary script and
	do not update the script cache.

(Logical change 1.27)
2002-11-16 06:50:04 +00:00
mostang.com!davidm
07beae63f4 (common_init): Initialize c->hint and c->prev_script unconditionally.
(Logical change 1.27)
2002-11-16 06:50:04 +00:00
mostang.com!davidm
007805c65a (access_nat) [UNW_LOCAL_ONLY]: Adjust for fact that context-pointer is now stored
in c->as_arg, which is a "void *".

(Logical change 1.27)
2002-11-16 06:50:04 +00:00
mostang.com!davidm
990790c880 (
(Logical change 1.27)
2002-11-16 06:50:04 +00:00
mostang.com!davidm
d1ded59cb0 Switch to MIT license.
BKrev: 3dd5bab07jnB20RQi_e_96h6MYUilg
2002-11-16 03:25:36 +00:00
mostang.com!davidm
aca3843d6f Switch to MIT license.
(Logical change 1.26)
2002-11-16 03:25:36 +00:00
mostang.com!davidm
445f16a033 Switch to MIT license.
(Logical change 1.25)
2002-11-16 03:23:11 +00:00
mostang.com!davidm
780af9ac22 COPYING:
Switch to MIT license.

BKrev: 3dd5ba1f8tIu5-CzeHGzhZEzhZ7xvQ
2002-11-16 03:23:11 +00:00
model.com!marky
c2262737f7 Fix typo in ia64_put()
(Logical change 1.24)
2002-11-14 19:12:58 +00:00
hp.com!davidm
790d1442a0 unwind_i.h:
Fix typo in ia64_put()

BKrev: 3dd3f5bap3o97WXkkQDRPTgDWG87Uw
2002-11-14 19:12:58 +00:00
hp.com!davidm
0216fd8f07 ia64: Add missing update to unwind_i.h to support multiple script
caches.

BKrev: 3dd04ecbpgFa9YdMJbnJaVKCuH2ZcQ
2002-11-12 00:43:55 +00:00
hp.com!davidm
126ca10566 Remove IA64_UNW_SCRIPT_CACHE macro. Move script cache info into
separate ia64_script_cache structure.
(unw.cache_generation): New member.
(unw.global_cache): Ditto.
(ia64_per_thread_cache): New macro.
(ia64_script_cache_init): Ditto.
(ia64_script_cache_init): Add declaration.

(Logical change 1.23)
2002-11-12 00:43:55 +00:00
mostang.com!davidm
fb2c7eb56d Regenerate.
(Logical change 1.22)
2002-11-09 07:59:02 +00:00
mostang.com!davidm
aca9360701 (Logical change 1.22) 2002-11-09 07:59:02 +00:00
mostang.com!davidm
e04493ac30 Initial revision 2002-11-09 07:59:02 +00:00
mostang.com!davidm
74fc55a61a Add routines to control caching policy. The caching policy can be set to
(1) single (global) cache, (2) per-thread cache, or (3) no cache at all.
This is loosely based on a per-thread cache patch by Brian Sumner.

BKrev: 3dccc046NlGdtX_BSyDVZDR6vE4lIw
2002-11-09 07:59:02 +00:00
mostang.com!davidm
0a7fdb7878 Add call to LIBUNWIND___THREAD.
(Logical change 1.22)
2002-11-09 07:59:02 +00:00
mostang.com!davidm
16f2189512 (unw_caching_policy_t): New type.
(unw_set_caching_policy): New function.
(unw_flush_cache): Ditto.

(Logical change 1.22)
2002-11-09 07:59:02 +00:00
mostang.com!davidm
57c6184925 (struct unw): Remove "hash" member.
(ia64_init): Replace cache-initialization with call to ia64_script_cache_init().

(Logical change 1.22)
2002-11-09 07:59:02 +00:00
mostang.com!davidm
e196ffd7eb (struct ia64_script_cache): New structure (broken out from global unwind state).
(Logical change 1.22)
2002-11-09 07:59:02 +00:00
mostang.com!davidm
d7d0463d0b (ia64_per_thread_cache) [HAVE___THREAD]: New variable.
(flush_script_cache): New function.
(get_script_cache): Ditto.
(ia64_script_lookup): Modify to support multiple (in particular: per-thread) caches.
(script_new): Add explicit "cache" pointer argument.
(ia64_script_lookup): Add multi-cache support.
(build_script): Ditto.
(ia64_find_save_locs): Ditto.
(ia64_script_cache_init): New function.

(Logical change 1.22)
2002-11-09 07:59:02 +00:00
mostang.com!davidm
56c93299f0 (LIBUNWIND__THREAD): New test.
(Logical change 1.22)
2002-11-09 07:59:02 +00:00
mostang.com!davidm
193ba2859f (HAVE___THREAD): Mention it.
(Logical change 1.22)
2002-11-09 07:59:02 +00:00
mostang.com!davidm
027b1d967f Regenerated with automake.
(Logical change 1.21)
2002-11-09 03:59:27 +00:00
mostang.com!davidm
e633236827 (ia64_getfp): Change from macro to inline function. Check "loc" argument for
being NULL before dereferencing it.
(ia64_putfp): Ditto.
(ia64_get): Ditto.
(ia64_put): Ditto.

(Logical change 1.21)
2002-11-09 03:59:27 +00:00
mostang.com!davidm
dee2508b2c (Logical change 1.21) 2002-11-09 03:59:27 +00:00
mostang.com!davidm
9f708e3bb2 Initial revision 2002-11-09 03:59:27 +00:00
mostang.com!davidm
8da6258e3e Fix comment regarding frame and preserved registers.
Add a note on the meaning of of UNW_IA64_BSP.

(Logical change 1.21)
2002-11-09 03:59:27 +00:00
mostang.com!davidm
4583a3fc27 Fix bugs reported by Robert Faught:
(unw_get_save_loc): Handle b6 like b7.
(unw_get_save_loc): Fix typo: "if (!sloc)" was meant to be "if (!loc)".

(Logical change 1.21)
2002-11-09 03:59:27 +00:00
mostang.com!davidm
6c1ccd723f Fix bugs reported by Robert Faught and Brian Sumner.
BKrev: 3dcc881fIVyOxMG7qkRqmLxDlPFR1w
2002-11-09 03:59:27 +00:00
mostang.com!davidm
e0ac536efc (noinst_PROGRAMS): Mention test-init and test-varargs.
(Logical change 1.21)
2002-11-09 03:59:27 +00:00
mostang.com!davidm
6a0ac2b8a4 (ia64_scratch_loc): Handle b6 like b7. Reported by Robert Faught.
(ia64_access_reg): Ditto.

(Logical change 1.21)
2002-11-09 03:59:27 +00:00
mostang.com!davidm
3f5161f47f Sanitize contents.
(Logical change 1.20)
2002-09-26 23:09:01 +00:00
mostang.com!davidm
aa54b9f4a8 (Logical change 1.20) 2002-09-26 23:09:01 +00:00
mostang.com!davidm
27cce00964 Initial revision 2002-09-26 23:09:01 +00:00
mostang.com!davidm
75c93b844a Include autoconf/automake-generated files.
BKrev: 3d93938d5QNIU4qjrq1AGnqCIc7BQA
2002-09-26 23:09:01 +00:00
mostang.com!davidm
4e1f57e38f Use -Wall when compiling with GCC.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
3569969a3e Update copyright message.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
fc116ff852 Replace malloc()/free() with private memory allocator to avoid deadlock issues
and problems under low-memory conditions.  This is accomplished via the mempool
interface (see mempool.h).

BKrev: 3d363ceagprsu6_TUZv4rJkQui-iSg
2002-07-18 03:58:34 +00:00
mostang.com!davidm
3fbd1a1d68 Minor formatting fixes.
(struct ia64_reg_state): Moved here from parser.c.
(struct ia64_global_unwind_state): Add unwind_table_pool, state_record_pool,
	and labeled_state_pool.

(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
b4d191544a Keep list of things to test.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
dd3c681c6a (Logical change 1.19) 2002-07-18 03:58:34 +00:00
mostang.com!davidm
5b6078357d Initial revision 2002-07-18 03:58:34 +00:00
mostang.com!davidm
7e8c5066e8 Include <unistd.h>.
(sighandler): Correct return type to "void".  Delete unused variables buffer[] and n.
(main): Cast sighandler to (sighandler_t).

(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
21647f4830 Include <stdlib.h>.
(sighandler): Parenthesize IP check.

(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
0938b03201 Added doc/Dwarf3-draft7-011029-dif-draft6.pdf doc/dwarf-2.0.0.pdf src/mempool.c~ src/mempool.h~ to the ignore list
(Logical change 1.19)
2002-07-18 03:58:34 +00:00