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

2963 commits

Author SHA1 Message Date
hp.com!davidm
67cfd98db9 (EXTRA_DIST): Mention include/dwarf.h.
(Logical change 1.146)
2003-12-20 11:50:00 +00:00
hp.com!davidm
0f47ba069f Add a first rough draft of a DWARF unwinder.
BKrev: 3fe435ccX0KHxOFBYQSjmpTHXZK3XQ
2003-12-20 11:43:08 +00:00
hp.com!davidm
45fccdc2f3 (unw_dyn_dwarf_fde_info_t): New type to handle (pre-parsed) DWARF
unwind-info.
(unw_dyn_info_t): Add member "dfi".

(Logical change 1.145)
2003-12-20 11:43:08 +00:00
hp.com!davidm
eb51b4294a (Logical change 1.145) 2003-12-20 11:43:08 +00:00
hp.com!davidm
67921394ac Miscellaneous minor fixes.
BKrev: 3fe434c99pYlaA2KOONW5y6kHrby2w
2003-12-20 11:38:49 +00:00
hp.com!davidm
c7312eceb2 Define UNW_LOCAL_ONLY before including <libunwind.h> so we get the
optimized version for unwind-table-searching.

(Logical change 1.144)
2003-12-20 11:38:49 +00:00
hp.com!davidm
a114b907b1 (_Unwind_GetTextRelBase): Drop comment. Returning 0 seems to be
OK for most existing platforms (both ia64 and DWARF-based).

(Logical change 1.144)
2003-12-20 11:38:49 +00:00
hp.com!davidm
9239758529 (_Unwind_GetDataRelBase): Implement it by returning the "gp" value
of the proc-info.

(Logical change 1.144)
2003-12-20 11:38:49 +00:00
hp.com!davidm
2afc5f7ddb (Logical change 1.144) 2003-12-20 11:38:49 +00:00
hp.com!davidm
0bbb2fab68 Initial revision 2003-12-20 11:38:49 +00:00
hp.com!davidm
198a57e635 Declare mempool-routines as HIDDEN.
BKrev: 3fe433edrU01dLxNLAkrCR51vu40gg
2003-12-20 11:35:09 +00:00
hp.com!davidm
b6adfb75c4 Declare mempool-routines as HIDDEN.
(Logical change 1.143)
2003-12-20 11:35:09 +00:00
hp.com!davidm
bc2e45cb27 Add new Debug() macro and create both generic and local-only versions
of the proc_info-related routines.

BKrev: 3fe4335bpSJIXmX-zJyrvEbIxOJvDA
2003-12-20 11:32:43 +00:00
hp.com!davidm
7b76187fc8 (remote_find_proc_info): Update the comment so it reflects reality.
(Logical change 1.142)
2003-12-20 11:32:43 +00:00
hp.com!davidm
7d3de049e6 (Debug): New macro. This one automates some of usual stuff that
gets printed during debugging and is supposed to produce
	a nicer format.  Eventually, we'll switch everything over
	from debug() to Debug().
(extract_dynamic_proc_info): We need both generic and local-only.
(dyn_remote_find_proc_info): Likewise.
(dyn_remote_put_unwind_info): Likewise.

(Logical change 1.142)
2003-12-20 11:32:43 +00:00
hp.com!davidm
dcd705f1a4 Use Elf_W() instead of ElfW() etc. to avoid clash with <linker.h>.
BKrev: 3fe43140p4uizriW-KkInfcwUfTbaw
2003-12-20 11:23:44 +00:00
hp.com!davidm
4fafd8cbf7 Use Elf_W() instead of ElfW() etc. to avoid clash with <linker.h>.
(Logical change 1.141)
2003-12-20 11:23:44 +00:00
hp.com!davidm
5e48061ba6 Update copyright header.
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
ff78bcde0d Rename: src/dyn-remote.c -> src/Gdyn-remote.c
}(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
1cfcd061e9 Rename: src/dyn-remote.c -> src/Gdyn-remote.c
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
94903d3c12 Rename: src/dyn-extract.c -> src/Gdyn-extract.c
}(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
058325fc41 Rename: src/dyn-extract.c -> src/Gdyn-extract.c
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
b467d68ad0 Rearrange files and type-definitions a bit to prepare for
DWARF unwinder.

BKrev: 3fe4308asly03beLxnt08ctZVykFfA
2003-12-20 11:20:42 +00:00
hp.com!davidm
9b52308ae2 Minor whitespace fixes.
(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
b25fd18403 Initial revision 2003-12-20 11:20:42 +00:00
hp.com!davidm
64c0ad5876 Delete: src/x86/tables-x86.c
}(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
fbe40e537f (unw_word_t): Let the architecture-specific header take care of
defining this type---it's needed very early on.
(unw_proc_info_t): Add architecture-specific "extra" member.  Empty
	for ia64, so no ABI change.
Don't include libunwind-dynamic.h here.

(Logical change 1.140)
2003-12-20 11:20:42 +00:00
hp.com!davidm
77b06d67aa (unw_word_t): Declare it here.
(unw_tdep_proc_info_t): New type.
Include "libunwind-dynamic.h" here.

(Logical change 1.140)
2003-12-20 11:20:42 +00:00
mostang.com!davidm
9240efe4a9 Update.
(Logical change 1.139)
2003-12-10 07:14:38 +00:00
mostang.com!davidm
3dba28237d Regenerate.
(Logical change 1.139)
2003-12-10 07:14:38 +00:00
mostang.com!davidm
e91ef29727 Partial draft.
(Logical change 1.139)
2003-12-10 07:14:38 +00:00
mostang.com!davidm
f18f14e2f5 (Logical change 1.139) 2003-12-10 07:14:38 +00:00
mostang.com!davidm
76a1dfe588 Initial revision 2003-12-10 07:14:38 +00:00
mostang.com!davidm
4ea1dd7fe5 Fix some typos.
(Logical change 1.139)
2003-12-10 07:14:38 +00:00
mostang.com!davidm
e70096e64b Add some missing copyright headers.
Start documenting the dynamic unwind-info interface.

BKrev: 3fd6c7de24XUspEjp5_bwOrhomI7Qg
2003-12-10 07:14:38 +00:00
mostang.com!davidm
2c1bae7798 Add copyright header.
(Logical change 1.139)
2003-12-10 07:14:38 +00:00
mostang.com!davidm
9765f67c9d A
(Logical change 1.139)
2003-12-10 07:14:38 +00:00
mostang.com!davidm
85c5e0c74a (man3_MANS): Mention libunwind-dynamic.man, _U_dyn_register.man, and
_U_dyn_cancel.man.
(EXTRA_DIST): Mention libunwind-dynamic.tex, _U_dyn_register.tex, and
	_U_dyn_cancel.tex.

(Logical change 1.139)
2003-12-10 07:14:38 +00:00
mostang.com!davidm
fab61cfbeb Up version number.
(Logical change 1.138)
2003-12-05 06:42:28 +00:00
mostang.com!davidm
bcdedf6b28 Switch from __sync_val_compare_and_swap() to
__sync_bool_compare_and_swap() since that's we need nowadays anyhow
and since that's also provided by ecc v7.0.

(Logical change 1.138)
2003-12-05 06:42:28 +00:00
mostang.com!davidm
046362a970 Regenerate.
(Logical change 1.138)
2003-12-05 06:42:28 +00:00
mostang.com!davidm
be77e58788 Miscellaneous minor updates for v0.96 release.
BKrev: 3fd028d4RzXPYjIxwfb_pTp7mP8inQ
2003-12-05 06:42:28 +00:00
mostang.com!davidm
4d40b374b9 Lookup static proc-info via accessor's callback, not by directly
calling tdep_find_proc_info().  The latter doesn't works in the
REMOTE_ONLY case.

(Logical change 1.138)
2003-12-05 06:42:28 +00:00
mostang.com!davidm
98f95e6ee4 (sos_alloc): Drop type-cast-avoiding union. If we really need it,
it should be done by cmpxchg_ptr().

(Logical change 1.138)
2003-12-05 06:42:28 +00:00
mostang.com!davidm
47c25b753c (run_script): Drop left-over __builtin_expect() call.
(Logical change 1.138)
2003-12-05 06:42:28 +00:00
hp.com!davidm
d799003645 Regenerate.
(Logical change 1.137)
2003-12-05 00:45:03 +00:00
hp.com!davidm
dde43e2bee Initial revision 2003-12-05 00:45:03 +00:00
hp.com!davidm
c368e82f2e Add a test-mem program which ensures that basic unwinding works even in
low-memory situations (i.e., when memmap() fails with ENOMEM).

BKrev: 3fcfd50fWassm6Tl9Vr0HonXjQJydA
2003-12-05 00:45:03 +00:00
hp.com!davidm
d154b86e84 (check_PROGRAMS_cdep): Mention test-mem.
(Logical change 1.137)
2003-12-05 00:45:03 +00:00
hp.com!davidm
5e111c69df (Logical change 1.137) 2003-12-05 00:45:03 +00:00