1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 20:03:43 +01:00
Commit graph

202 commits

Author SHA1 Message Date
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
0440c53608 Fix checkin lossage.
(Logical change 1.37)
2003-01-17 18:12:55 +00:00
mostang.com!davidm
a38baad7f3 (unw_init_local): Fix typo: the context type should be unw_context_t.
(Logical change 1.35)
2003-01-17 07:48:52 +00:00
mostang.com!davidm
8ec7b349f1 Initial revision 2003-01-14 07:11:56 +00:00
mostang.com!davidm
6d611572ef (Logical change 1.33) 2003-01-14 07:11:56 +00:00
mostang.com!davidm
2d80409b22 Rename: src/mempool.h -> include/mempool.h
(Logical change 1.32)
2002-12-19 07:16:50 +00:00
mostang.com!davidm
9f32da41c3 Initial revision 2002-12-19 07:16:50 +00:00
mostang.com!davidm
a60cacd8f5 Include "mempool.h">
(struct cursor): Move to here from unwind_i.h.
(struct ia64_global_unwind_state): Ditto.

(Logical change 1.32)
2002-12-19 07:16:50 +00:00
mostang.com!davidm
db59d4f98f (struct cursor): Rename from "struct ia64_cursor".
(Logical change 1.32)
2002-12-19 07:16:50 +00:00
mostang.com!davidm
20a6c1adf1 (get_accessors): Make it an arch-obj.
(flush_cache): Ditto.
(set_caching_policy): Ditto.
(regname): Ditto.

(Logical change 1.32)
2002-12-19 07:16:50 +00:00
mostang.com!davidm
93daa3b08d (UNW_TARGET_IA64): Define.
(Logical change 1.32)
2002-12-19 07:16:50 +00:00
mostang.com!davidm
bf070a994a (UNW_DEBUG): Move here from ia64/unwind_i.h
(debug): Ditto.
(dprintf): Ditto.
(inline): Ditto.
(mi_init): Declare.

(Logical change 1.32)
2002-12-19 07:16:50 +00:00
mostang.com!davidm
a85267d16b (Logical change 1.32) 2002-12-19 07:16:50 +00:00
mostang.com!davidm
1c8ee38936 (_Uia64_find_dyn_list): Declare and document this ia64-specific helper routine.
(Logical change 1.31)
2002-12-18 05:18:40 +00:00
mostang.com!davidm
793c8a3005 Initial revision 2002-12-12 09:17:41 +00:00
mostang.com!davidm
744b910408 Clarify comment on how when to use a pointer type and when to use unw_word_t.
(unw_dyn_info_format_t): New type.
(unw_dyn_op): Decrease "tag" from 16 to 8 bits, ditto for "qp" member.
(unw_dyn_proc_info): Change "name" pointer to "name_ptr" value (unw_word_t) and
	make padding explicit.
(unw_dyn_table_info): Change "name" pointer to "name_ptr" value.  Rename
	"table_size" to "table_len" and change type of table_data from
	void * to "unw_word_t *".
(unw_dyn_info): Switch to doubly-linked list so _U_dyn_cancel() can be O(1).
	Change type of "format" member from enum to int32_t.  Make padding explicit.
(unw_dyn_info_list): Make "generation" member 32 bits wide.  Add "version" member
	to enable future extensions to the dynamic info list.
(_U_dyn_register): Don't return anything (it can't fail).
(_U_dyn_cancel): Ditto.

(Logical change 1.30)
2002-12-12 09:17:41 +00:00
mostang.com!davidm
01e35a5d93 Add copyright header and forward-declration of ia64_cursor.
2002/12/05 15:32:45-08:00 mostang.com!davidm
Rename: src/ia64/script.h -> include/ia64/script.h

(Logical change 1.30)
2002-12-12 09:17:41 +00:00
mostang.com!davidm
b29266f262 (unw_sysdep_search_unwind_table): Remove.
(Logical change 1.30)
2002-12-12 09:17:41 +00:00
mostang.com!davidm
b6251b0f41 (unw_proc_info_t): Remove proc_name member and replace it with unw_get_proc_name().
The former didn't work because of memory management issues (there was no
	reasonable way to allocate/free the memory needed for the string).
	Shorten unwind_info_size from size_t to int.
(unw_accessors_t): Add new callbacks put_unwind_info() and get_dyn_info_list_addr().
(unw_create_addr_space): Take byte-order as second argument.
(unw_get_proc_name): New routine.
(unw_find_dynamic_proc_info): Remove (it's brother is in internal.h now).
(unw_flush_cache): Add missing declaration.
(unw_set_caching_policy): Ditto.

(Logical change 1.30)
2002-12-12 09:17:41 +00:00
mostang.com!davidm
653c9006ac (Logical change 1.30) 2002-12-12 09:17:41 +00:00
mostang.com!davidm
dfc08eaef4 Rewrite to resemble something that actually might work.
(Logical change 1.29)
2002-12-03 08:19:58 +00:00
mostang.com!davidm
50d7a155ff Add include of <libunwind-dyamic.h>.
(UNW_ARCH_OBJ): New macro.
(unw_proc_info_t): New type.
(unw_accessors): Replace acquire_unwind_info and release_unwind_info callbacks
	with find_proc_info callback.  Change remaining prototypes to take
	address-space pointer as the first argument.
(unw_get_accessors): New routine.
(unw_get_proc_info): New routine.
(unw_regname): Make it an UNW_ARCH_OBJ.
(unw_find_dynamic_proc_info): New routine.

(Logical change 1.29)
2002-12-03 08:19:58 +00:00
mostang.com!davidm
b1c1f146cc (struct unw_ia64_table): Delete.
(unw_sysdep_search_unwind_table): New macro.

(Logical change 1.29)
2002-12-03 08:19:58 +00:00
hp.com!davidm
d7e9f75df6 (Logical change 1.28) 2002-11-23 02:12:30 +00:00
hp.com!davidm
f7d795a412 Initial revision 2002-11-23 02:12:30 +00:00
mostang.com!davidm
87bc2e3242 Document which routines are signal-safe.
(unw_addr_space_t): New type.
(unw_accessors_t): Remove "arg" member.
(unw_local_addr_space): New variable.
(unw_create_addr_space): New function.
(unw_destroy_addr_space): Ditto.
(unw_init_remote): Take address-space and accessor-argument pointer instead of
	accessor structure as argument.
(unw_set_caching_policy): Take address-space as first argument.
(unw_flush_cache): Take address space and address-range (lo & hi) arguments.

(Logical change 1.27)
2002-11-16 06:50:04 +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
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
193ba2859f (HAVE___THREAD): Mention it.
(Logical change 1.22)
2002-11-09 07:59:02 +00:00
mostang.com!davidm
3569969a3e Update copyright message.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
cfe616f0f6 Undefine HAVE_GETUNWIND by default.
(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
74775e31d9 (unw_tdep_getcontext): Make it an expression returning zero (no error).
(Logical change 1.16)
2002-04-12 05:02:40 +00:00
mostang.com!davidm
58142c0a21 (unw_regname): New routine to obtain canonical name of a register.
(Logical change 1.16)
2002-04-12 05:02:40 +00:00
hp.com!davidm
76166fb955 (UNW_PREFIX): Include the target name in the prefix.
2002/04/05 14:33:32-08:00 hp.com!davidm
Rename: include/libunwind.h -> include/libunwind-common.h

(Logical change 1.12)
2002-04-05 23:37:55 +00:00
hp.com!davidm
5a0a6457b1 Initial revision 2002-04-05 23:37:55 +00:00
hp.com!davidm
1f3b87ad50 Add multi-architecture support: include libunwind-common.h instead
of having a libunwind.h include the target-specific header.

(Logical change 1.12)
2002-04-05 23:37:55 +00:00
hp.com!davidm
2a8477a76a (UNW_PREFIX): Include the target name in the prefix.
}(Logical change 1.12)
2002-04-05 23:37:55 +00:00
mostang.com!davidm
5c6360b856 (unw_tdep_is_fpreg): New macro.
(Logical change 1.11)
2002-04-04 19:04:09 +00:00
mostang.com!davidm
4208867819 (unw_is_fpreg): New macro.
(Logical change 1.11)
2002-04-04 19:04:09 +00:00
hp.com!davidm
f1d10c0fb3 (unw_tdep_save_loc_t): New type.
(Logical change 1.10)
2002-04-03 06:51:34 +00:00
hp.com!davidm
48da72afd7 (unw_save_loc_t): New member "extra" to hold arch-specific save-location info.
(unw_get_save_loc): Define.

(Logical change 1.10)
2002-04-03 06:51:34 +00:00
mostang.com!davidm
99639fb162 Rename UNW_IA64_CURRENT_BSP to UNW_IA64_BSP.
(Logical change 1.9)
2002-04-01 23:01:22 +00:00
mostang.com!davidm
70dd4fbccf (unw_save_loc_type_t): New type.
(unw_save_loc_t): New type.
(get_save_loc): New prototype.

(Logical change 1.9)
2002-04-01 23:01:22 +00:00
mostang.com!davidm
96e3133a62 Remove include of libunwind-config.h. Include libunwind-tdep.h instead of
opencoding an architecture-specific include.

2002/02/23 12:16:40-08:00 mostang.com!davidm
Rename: include/libunwind.h.in -> include/libunwind.h

(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
95ce9146a7 Initial revision 2002-02-23 20:27:03 +00:00
mostang.com!davidm
9da5d9e6ec Delete: include/libunwind-config.h
}(Logical change 1.7)
2002-02-23 20:27:03 +00:00
mostang.com!davidm
1a9fe6168d (Logical change 1.7) 2002-02-23 20:27:03 +00:00
(none)!davidm
0d1108748f Delete: include/config.h
}(Logical change 1.6)
2002-02-22 22:09:28 +00:00
(none)!davidm
cfdd6ece84 Include architecture-specific header file first and then define
various other types and constants based on it.
(unw_error_t): A UNW_EINVAL, UNW_EBADVERSION, and UNW_ENOINFO.
(unw_frame_regnum_t): Instead of hardcoding the numbers for the
	well-known frame registers, use the architecture-specific
	(target-dependent) values instead.

(Logical change 1.5)
2002-02-22 21:58:53 +00:00
(none)!davidm
cd66944a2c (unw_tdep_word_t): New type.
(ia64_regnum_t): Define well-known frame registers here and add
	TDEP-aliases for use by libunwind.h.
(unw_ia64_table_t): Use unw_tdep_word_t instead of unw_word_t so this
	file can be included by libunwind.h.
	Change type of "array" member to void *.  On OSes that support
	ILP32, it may point to a 32-bit unwind table.

(Logical change 1.5)
2002-02-22 21:58:53 +00:00
mostang.com!davidm
7fbfe0a255 (Logical change 1.3) 2002-02-15 23:22:05 +00:00
mostang.com!davidm
63669f7ad4 Initial revision 2002-02-15 23:22:05 +00:00