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

1122 commits

Author SHA1 Message Date
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
mostang.com!davidm
b04ff63c65 (update_frame_state): Print debug output when catching sigcontext location.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
a2284ed1f3 (unw_get_save_loc): Remove unused variables sc_addr and ret.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
76a2d6a18b (struct ia64_labeled_state): Move to unwind_i.h.
(alloc_reg_state): Use mempool interface.
(free_reg_state): Ditto.
(alloc_labeled_state): Ditto.
(free_labeled_state): Ditto.
(alloc_spill_area): Fix spill-area allocation (fix by Richard Henderson).
(desc_frgr_mem): Fix case for f16-f31 (fix by Richard Henderson).
(get_proc_info): Use mempool_alloc() instead of malloc().

(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
641d801905 (libunwind_la_SOURCES_common): Mention mempool.h and mempool.c.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
ce831876f2 (ia64_init): Initialize mempools.
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
d603a5b4bb (ia64_access_reg): r15-r18 should refer to sigcontext IFF the cursor is currently
pointing at the signal trampoline frame.  Otherwise, raising an exception from within
a signal handler will fail to pass the exception arguments to the exception handler.

(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
e3cb03d7b6 (get_kernel_table): Use sos_alloc()/sos_free() instead of malloc()/free().
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
9ac7c9cda2 (common_int): Explicitly declare return type as "int".
(Logical change 1.19)
2002-07-18 03:58:34 +00:00
mostang.com!davidm
5a9743cd77 (b): Add a printf() after raise_exception() to avoid triggering the sibcall
optimization for this call.

(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
1c0d73e27d Replace uses of IA64_FLAG_SIGTRAMP flag by checks against sigcontext_loc.
(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
c0a60b6f82 (Logical change 1.18) 2002-04-25 06:47:29 +00:00
mostang.com!davidm
f7381ce536 Initial revision 2002-04-25 06:47:29 +00:00
mostang.com!davidm
af6fe37119 Include <stdlib.h>.
(ia64_init): Initialize debug level from UNW_DEBUG_LEVEL environment variable.

(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
e324c4c115 Include <libunwind-ia64.h> instead of <libunwind.h> (this program is slightly
ia64-specific).
(sighandler): Rename rp to ip.
(doit): Declare argument as volatile pointer.

(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
934d3b52b0 Fix up things so that unwinding across signal handlers starts to work.
BKrev: 3cc7a681Zo3mtY13CWzcMbI5J8kSKw
2002-04-25 06:47:29 +00:00
mostang.com!davidm
b847840474 Check for getunwind() system call.
(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
83ca335b08 Added src/Makefile.in~ to the ignore list
(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
039f99fef0 (update_frame_state): Fix handling of sigtramp frames. Also work around bugs
in kernel unwind info.

(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
118746f9e5 (unw_is_signal_frame): Need to (re-)create state record before we can check
IA64_FLAG_SIGTRAMP.

(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
83da1e6ac1 (unw_get_save_loc): Replace check for IA64_FLAG_SIGTRAMP with check against
c->sigcontext_loc.

(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
563bccbf75 (struct ia64_cursor): Add sigcontext_loc.
(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
72e98c4610 (sighandler): New function.
(main): Install SIGTERM handler and send SIGTERM to self to test backtracing through
	signal handler.

(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
4d37950b2c (rotate_gr): If the register is outside the current stacked frame, return -1.
(Logical change 1.18)
2002-04-25 06:47:29 +00:00
mostang.com!davidm
053cda26f2 (noinst_PROGRAMS_arch): New macro to get "sig" built when the target is ia64.
(noinst_PROGRAMS): Mention $(noinst_PROGRAMS_arch).
(LDADD): Link against architecture-specific name, because symlinks don't exist yet
	when this directory gets built.

(Logical change 1.18)
2002-04-25 06:47:29 +00:00