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

17 commits

Author SHA1 Message Date
hp.com!davidm
9441e6cb89 (STACK_SIZE): Make it 128KB on x86. SIGSTKSZ is far too small.
(Logical change 1.131)
2003-11-27 07:17:47 +00:00
hp.com!davidm
dcf293aa30 Cast printf() argument to avoid compiler-warning.
(Logical change 1.130)
2003-11-27 06:52:54 +00:00
hp.com!davidm
d7d831e9bb Fix x86 b
(Logical change 1.104)
2003-09-25 05:29:14 +00:00
mostang.com!davidm
8b7c7e322a (do_backtrace): Also pring "gp".
(foo): Add some newlines for better readability.
(sighandler): Always declare as per Single UNIX Spec.
	On HP-UX, use __uc_get_ip() to read the interruption IP.
(main): Always use sigaction() to install a signal handler, so we can
	turn on the SA_SIGINFO flag.

(Logical change 1.87)
2003-04-24 20:45:07 +00:00
hp.com!davidm
ade160f6a1 (STACK_SIZE): New macro. On x86, use 2*SIGSTKSZ, because the default-size
of 8KB is just too small to do anything reasonable.
(main): Use STACK_SIZE instead of SIGSTKSZ.

(Logical change 1.81)
2003-04-21 23:14:14 +00:00
mostang.com!davidm
00cfbc61fe Include "config.h" if we have it.
Declare "backtrace()" manually if we don't have execinfo.h.
Declare "sighandler_t" manually if the system doesn't do it for us.
On ia64, print sc->sc_ip only if we're on Linux.

(Logical change 1.63)
2003-03-19 19:25:18 +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
51b47e4ecf Test unwinding across signal delivered on alternate signal stack.
(Logical change 1.40)
2003-01-21 17:41:20 +00:00
mostang.com!davidm
ccfcac6e20 Make it compile cleanly on x86.
(Logical change 1.32)
2002-12-19 07:16:50 +00:00
mostang.com!davidm
39b1d3a61f Use unw_get_proc_name() to obtain procedure name (if available).
(Logical change 1.30)
2002-12-12 09:17:41 +00:00
mostang.com!davidm
15eec54cc8 (do_backtrace): Replace reading of UNW_REG_PROC_START, UNW_REG_HANDLER, and
UNW_REG_LSDA with call to unw_get_proc_info().

(Logical change 1.29)
2002-12-03 08:19:58 +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
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
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
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
0660b2b7bb mvdir
(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