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

1526 commits

Author SHA1 Message Date
mostang.com!davidm
f6158814a8 Regenerate.
(Logical change 1.148)
2003-12-21 07:21:28 +00:00
mostang.com!davidm
c008232bae (unw_decode_r1): "inline" it.
(unw_decode_r2): Likewise.
(unw_decode_r3): Likewise.
(unw_decode_p1): Likewise.
(unw_decode_p2_p5): Likewise.
(unw_decode_p6): Likewise.
(unw_decode_p7_p10): Likewise.
(unw_decode_b1): Likewise.
(unw_decode_b3_x4): Likewise.
(unw_decode_table): Remove.
(unw_decode): Do the first-level of decoding inline, rather than
	through the unw_decode_table.

(Logical change 1.148)
2003-12-21 07:21:28 +00:00
mostang.com!davidm
aa800d423d (unw): Mark it as HIDDEN.
(Logical change 1.148)
2003-12-21 07:21:28 +00:00
mostang.com!davidm
3596fa99b6 (regname): Delete.
(regname_len): New macro.
(regname_str): New macro.
(NREGS): New macro.
(unw_regname): Change it from using a regname[] array to using
	a single string.

(Logical change 1.148)
2003-12-21 07:21:28 +00:00
mostang.com!davidm
3d24b59dba Update it some more.
(Logical change 1.147)
2003-12-21 05:53:57 +00:00
mostang.com!davidm
8365c7bc60 Minor cleanups for comments and libunwind-dynamic(3) man-page.
BKrev: 3fe53575d8PuLMPhXZ-UYCouQUlOoQ
2003-12-21 05:53:57 +00:00
mostang.com!davidm
e6aedd3089 (dyn_generation): Drop bogus comment.
(Logical change 1.147)
2003-12-21 05:53:57 +00:00
mostang.com!davidm
d5db6013ff (UNW_PI_FLAG_FIRST_TDEP_BIT): Fix comment.
(Logical change 1.147)
2003-12-21 05:53:57 +00:00
hp.com!davidm
70be1294ce Update.
(Logical change 1.146)
2003-12-20 11:50:00 +00:00
hp.com!davidm
c0aeb8ae37 Switch over to DWARF-based unwinder.
BKrev: 3fe43768R53fmSZyyjrBhlaqT72ajw
2003-12-20 11:50:00 +00:00
hp.com!davidm
468aaccf17 Switch over to DWARF-based unwinder.
(Logical change 1.146)
2003-12-20 11:50:00 +00:00
hp.com!davidm
9fdd520e59 Regenerate.
(Logical change 1.146)
2003-12-20 11:50:00 +00:00
hp.com!davidm
23760816b3 (libunwind_la_SOURCES_common): Replace dyn-extract.c and dyn-remote.c
with generic and local-only versions.
(dwarf_sources): New macro.
(libbunwind_la_SOURCES_x86): Add $(dwarf_sources).
	Drop tables-x86.c it's not needed anymore.
(AM_CPPFLAGSG): Add architecture-specific include file.

(Logical change 1.146)
2003-12-20 11:50:00 +00:00
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