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

1397 commits

Author SHA1 Message Date
mostang.com!davidm
d0e021d85b Add copyright notice.
Make it an automatic test.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
31d99ecca6 Add ELF-procedure name lookup for local unwinding.
Add libunwind-based non-local goto support (aka setjmp() in 3 stores).
Start redoing/finalizing the unw_resume() support.
Add more test-cases and documentation.

BKrev: 3e44d7b3QRWc7y6jH7lU6t9FWZ1nyw
2003-02-08 10:10:59 +00:00
mostang.com!davidm
52b17e2b37 (unwi_put_dynamic_unwind_info): Don't call unwi_dyn_remote_put_unwind_info() when
dealing with the local address space.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
aeb517ff8a (unwi_get_proc_name): Add "offp" argument. Call tdep_get_proc_name() to look up
procedure name for static code.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
8c2740cfe3 (unw_tdep_fpreg_t): New type.
(UNW_TDEP_EH_ARG0): Make it an alias for r15.
(UNW_TDEP_EH_ARG1): Make it an alias for r16.
(UNW_TDEP_EH_ARG2): Make it an alias for r17.
(UNW_TDEP_EH_ARG3): Make it an alias for r18.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
678d3209fb (unw_resume): Rewrite to make it work for resuming execution past a signal frame
(and also simplify it).

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
f5892c26be (unw_get_proc_name): Update prototype.
(See Also): Mention libunwind-setjmp(3) and unw_resume(3).

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
42cfe4f411 (unw_get_proc_name): Add "offp" argument.
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
bebd76e90b (struct UPT_info): Replace image/image_size members by "struct elf_image" member.
(struct map_iterator): Delete (moved to os-linux.h).
(maps_init): Ditto.
(maps_next): Ditto.
(maps_close): Ditto.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
ea39f89528 (sighandler): Print procedure-name along with address.
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
ed0fad1105 (man3_MANS): Mention libunwind-setjmp.man and unw_resume.man.
(EXTRA_DIST): Mention libunwind-setjmp.tex and unw_resume.tex.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
7377d07464 (ia64_access_reg): When writing UNW_REG_IP, invalidate the proc_info if the new
IP is outside the range of the old procedure.
	When writing one of the exception argument registers, track the update
	in c->eh_valid_mask.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
d20530f7ab (do_backtrace): Adjust for new "offset" argument in unw_get_proc_name().
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
5f82f8e557 (do_backtrace): Adjust for "offset" argument in unw_get_proc_name() and print
procedure name in a prettier fashion.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
7e29f92baa (common_init): Don't initialize eh_args[] pro-actively; do it lazily.
Clear eh_valid_mask to zero.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
be592ddeb2 (_Uia64_search_unwind_table): Return a valid gp-value in the proc-info even when
there is no other unwind-info.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
ebed1d6b82 (_Uia64_install_context): Rename from __ia64_install_context(). Change signature.
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
1d8de85964 (_UPT_access_mem): Fix typo in debug statement.
(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
981c8cc37b (UNW_REG_EH_ARG0): New well-known register name.
(UNW_REG_EH_ARG1): Ditto.
(UNW_REG_EH_ARG2): Ditto.
(UNW_REG_EH_ARG3): Ditto.
(unw_fpreg_t): Make it a target-dependent type.
(unw_get_proc_name): Also return the offset relative to the function name returned.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
5db393915c (TESTS_cdep): Add test-setjmp.
(test_setjmp_LDADD): New macro.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
ad7f1470e3 (SETJMP_SO_VERSION): New macro.
(lib_LTLIBRARIES_cdep): Ditto.
(libunwind_setjmp_la_SOURCES_common): Ditto.
(libunwind_setjmp_la_LDFLAGS): Ditto.
(libunwind_setjmp_la_LIBADD): Ditto.
(libunwind_setjmp_la_SOURCES_ia64): Ditto.
(libunwind_setjmp_la_SOURCES_hppa): Ditto.
(libunwind_setjmp_la_SOURCES_x86): Ditto.
(libunwind_la_SOURCES_os): Define for OS_LINUX.
(libunwind_la_SOURCES_ia64): Mention elf64.c.
(AM_CPPFLAGS): Include from current working directory as well.
(AM_CCASFLAGS): Define to be the same as AM_CPPFLAGS.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
f5265f56ba (HIDDEN): Make it empty unless we have at least GCC v3.3.
(unwi_get_proc_name): Also return the offset relative to the returned function-name.
(struct elf_image): New structure.

(Logical change 1.45)
2003-02-08 10:10:59 +00:00
mostang.com!davidm
9657e6d5ff Regenerate.
(Logical change 1.44)
2003-01-28 07:32:15 +00:00
mostang.com!davidm
64f2bf7735 (Logical change 1.44) 2003-01-28 07:32:15 +00:00
mostang.com!davidm
3886794230 Initial revision 2003-01-28 07:32:15 +00:00
mostang.com!davidm
10b928ac33 Add man-page for libunwind-ptrace(3). Fix typo in debug statements.
BKrev: 3e3631ffN5dWXJUZHIpDMx0q9cQPHg
2003-01-28 07:32:15 +00:00
mostang.com!davidm
de4410dce0 (ui): Make it global instead of local to do_backtrace().
(do_backtrace): Move creation/destruction of the UPT-info structure from here...
(main): ...to here.

(Logical change 1.44)
2003-01-28 07:32:15 +00:00
mostang.com!davidm
385b56fb3d (man3_MANS): Mention libunwind-ptrace.man.
(EXTRA_DIST): Mention libunwind-ptrace.tex.

(Logical change 1.44)
2003-01-28 07:32:15 +00:00
mostang.com!davidm
17220411d4 (_UPT_access_reg): Fix typo in debug() statements.
(Logical change 1.44)
2003-01-28 07:32:15 +00:00
mostang.com!davidm
ac0e9b4184 (See Also): Mention libunwind-ptrace(3).
(Logical change 1.44)
2003-01-28 07:32:15 +00:00
hp.com!davidm
644c919345 Rename UNW_IA64_AR_25 to UNW_IA64_AR_CSD, as per SDM v2.1.
(_Uia64_search_unwind_table): Declare.
(_Uia64_find_dyn_list): Declare as "extern".
(_Uia64_get_kernel_table): Declare.

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